Commit Graph

49 Commits

Author SHA1 Message Date
Paul Gschwendtner 52b6692472 build: move inline resources script to tools (#4894)
* build: move inline resources script to tools

* Moves the inline resources script to the `tools/gulp/packaging` folder. This is necessary when exposing the build tools (e.g for flex-layout)
* This also makes the packaging more clean because no external script is referenced (also switched to TypeScript and improved code)

* Address comments

* Update comment
2017-05-31 16:20:00 -07:00
Paul Gschwendtner 964033ce8d build: add dashboard firebase functions (#4806)
* build: add dashboard firebase functions

* Adds a new folder for the dashboard project that for now only contains firebase functions.
* The firebase functions will be used to securely make API calls to the Github API (e.g payload status)
* Functions will be automatically deployed as same as screenshot functions.

* Address feedback
2017-05-31 16:18:34 -07:00
Paul Gschwendtner 5c6a6856a1 build: move release packages to constants (#4818)
* build: move release packages to constants

* Moves the list of packages that should be released to the constants file.
* Sets the executable bit flag on the `deploy-screenshot-functions.sh` script

* Rename constants to build config
2017-05-26 12:36:10 -06:00
Paul Gschwendtner ecea23c684 build: deploy screenshot functions (#4698)
* build: deploy screenshot functions

* Deploys the screenshot functions for push builds
* Runs deploying & publishing in parallel

* Fix comment about parallel
2017-05-22 15:58:32 -06:00
Paul Gschwendtner 401cd96307 build: publish to cdk-builds (#4527)
* build: publish to cdk-builds

* Publish the CDK release output to the cdk-builds repository.

* Address comments
2017-05-15 11:54:09 -07:00
Paul Gschwendtner 3953d6eb37 build: include commit sha in build artifacts (#4505)
Fixes #4502
2017-05-12 14:29:09 -07:00
Paul Gschwendtner 1caa63e85d build: properly publish examples package (#4408) 2017-05-10 17:59:25 -07:00
Paul Gschwendtner 2b8f753028 build: use shared logic to build packages (#4202)
* build: use shared logic to build packages

* No longer creates the whole set of gulp tasks just to build a single package.
* Makes the package building & releasing more consistent. No extra `build:release` just for the `lib` package.

References #4108

* Address feedback
2017-04-25 09:50:47 -07:00
Paul Gschwendtner fe7570a1da build: test cdk in aot and closure (#4142) 2017-04-18 15:57:44 -07:00
Paul Gschwendtner 85391ca6c9 chore: remove unused bash scripts (#4080)
* Removes two unused bash scripts (`copy-docs.sh`, `enact-release.sh`).
* `enact-release.sh` is now part of the release gulp task.
* `copy-docs.sh` is now part of the `docs` gulp task.
2017-04-13 09:18:58 -07:00
Paul Gschwendtner 205690f359 build: publish material-examples package to docs content (#4064) 2017-04-12 17:40:31 -07:00
Paul Gschwendtner abd2ac6489 build: create material-examples package (#4046) 2017-04-12 16:37:08 -07:00
Jeremy Elbourn e0124bba38 chore: publish examples assets for plunker with docs content (#3987) 2017-04-10 09:52:19 -06:00
Jeremy Elbourn e7a4a03d68 fix: use correct access tokens for artifact publishing (#3860) 2017-04-01 02:51:22 +08:00
Paul Gschwendtner de21d9e89f build: fix build artifacts (#3771)
* The distribution folder structure has changed, and the path `dist/@angular/material` is no longer valid.
2017-03-24 14:27:24 -07:00
Paul Gschwendtner 05c865da15 build: include license in docs-content (#3557)
* Now includes the `LICENSE` file in the `material2-docs-content` repository. Similar as for `material2-builds`.
2017-03-14 13:11:12 -07:00
Jeremy Elbourn fc31717fcf chore: publish docs content under angular org (#3508) 2017-03-09 14:00:31 -08:00
Raven Avalon 60aa9e9768 fix(scripts): change all paths in docs pushing script to relative paths (#3091) 2017-02-16 15:41:42 -08:00
Raven Avalon fd8c37921d chore: add examples folder into pushing script (#3035) 2017-02-10 13:36:50 -08:00
Raven Avalon ba12f440c1 feat(scripts): push generated docs to material assets repo (#2720) 2017-02-06 11:56:54 -08:00
Raven Avalon 09591cf123 docs: Rename and update overview and readme files (#2614) 2017-01-30 13:31:16 -08:00
tinayuangao 0dd57da945 chore: add script to bulk copy generated docs files (#2337) 2016-12-21 17:17:25 -08:00
Paul Gschwendtner 35ca9b40e6 chore: publish artifacts to organization repository (#2260)
* Currently we are publishing to `DevVersion/material-builds` for testing purposes and everything seems to work as expected.
* Switching the repository to the `material2-builds` repository on the Angular organization
2016-12-19 10:18:17 -08:00
Paul Gschwendtner 2d24383fbf chore: fix sigpipe error for commit message (#2255)
* When retrieving the last commit message, the script currently pipes it through the head command.
  Since the git log command using the less command will exit immediately the pipe will fail with a 141 exit code (because it can't read from a closed stream)
2016-12-16 10:39:57 -08:00
Paul Gschwendtner 4126a83253 chore(artifacts): properly authenticate git (#2200) 2016-12-13 11:13:32 -08:00
Paul Gschwendtner 656ef2293c chore: setup git before publishing the builds (#2197)
* It looks like Git is unable to push the changes right now, because they don't have any commiter name & email set
2016-12-13 09:33:03 -08:00
Paul Gschwendtner 58d2aa3f9c chore: create build artifacts for each commit (#2082)
* chore: create build artifacts for each commit

* Switch to new npm package

* Update version to latest

* Publish the builds after all modes succeeded.

* Address comments

* Change snake_case to camelCase
2016-12-09 13:57:28 -08:00
Martin Belev b07aa7e382 chore: fix typo in inline-resources (#2060) 2016-12-02 13:35:38 -08:00
Paul Gschwendtner 640dbb6692 chore(changelog): fix missing module for adding streams (#1738) 2016-11-08 12:28:56 -08:00
Hans b5c8c63a27 feat(packaging): move packaging to a single "@angular/material" (#1286) 2016-09-22 13:24:12 -07:00
Hans 818290ba75 refactor(all): add index.ts, and build using es2015 and UMD bundles. (#1158) 2016-09-01 22:04:14 -07:00
Hans abcc6af54d build: move from angular-cli to gulp (#948)
Fixed #1636.
2016-08-19 10:59:45 -07:00
Paul Gschwendtner ab5f9533d0 chore(changelog): properly name tags for github compare links (#971)
* chore(changelog): properly name tags for github compare links

* The convention changelog currently auto-prefixes the previous semver tag with a `v`, which causes the github compare links to not work.
* Manually resolve the previous and current tag from the git metadata. (As in https://github.com/angular/material/pull/9264)

* Remove prefixed compare links in previous generated chaneglog

* Change `getTags` to `getAvailableTags`

* Add comment explaining how we resolve the tags
2016-08-10 11:26:12 -07:00
Paul Gschwendtner 7f594ce206 fix(build): omit module ids from component metadata. (#984)
> Removes the module ids of the component metadata.
> Since the templates and styles are now inlined, the module id has become unnecessary and
> can cause unexpected issues

This also fixes https://github.com/angular/material2/issues/974 in meanwhile.
2016-08-10 11:21:22 -07:00
Jeremy Elbourn ca351b2a52 feat: add NgModules for material (#950) 2016-08-08 11:31:47 -07:00
Jeremy Elbourn 04d1c80174 chore: include .metadata.json files in packages for deployment (#848)
* update stage-release to include .metadata.json files

* bump version from alpha.6 to alpha.6-2

* remove test files from packages

* add skipTemplateCodegen option

* add desc to enact-release script

* improve script comments
2016-07-13 14:17:17 -07:00
NCC1701M 7a1bb194e6 chore: add batch file version of stage-release script (#734) 2016-06-21 13:56:43 -07:00
Randy Aldrich e808452ed6 fix(release): make resource-inlining regex non-greedy (#653)
Change the template regex to support minified js files. This partially addresses inlining resources for an angular-cli prod build.
(cherry picked from commit ba47c8d)
2016-06-08 09:49:37 -07:00
Jeremy Elbourn 5367a69b01 chore: bump version alpha.5 and update changelog (#529) 2016-05-25 17:48:24 -07:00
Kara 64c4d62b6a chore(release): update release script to use npm not gulp (#485) 2016-05-20 11:45:05 -07:00
Hans 9e308a6fa2 build: separate demo-app in its own directory. (#451)
* build: separate demo-app in its own directory.

* chore: replace gulp-inline-resources with a script

This also improves upon the relative path problem. All template paths
now should be relative. Also, we can now include double-quotes in
CSS/HTML.
2016-05-18 15:07:57 -07:00
Jeremy Elbourn 0354770e51 chore: update version to alpha.3 w/ changelog 2016-04-21 11:36:39 -07:00
Jeremy Elbourn fec2a440ec chore(release): always publish w/ access=public 2016-04-06 14:17:34 -07:00
Jeremy Elbourn 0082a39866 chore: release alpha.2
Fixes #212
Fixes #189
2016-04-06 13:41:24 -07:00
Jeremy Elbourn 0983de393e chore: always npm logout when publish is done. 2016-03-28 11:19:07 -07:00
Jeremy Elbourn ed1926963b build(): add actual publish script. 2016-03-21 18:54:34 -07:00
DevVersion 70ab791add chore: add conventional changelog script.
* The script prepends the new conventional changelog from the latest tag to HEAD.
* When using the `--force` flag, the complete changelog will be generated and overwrites, when present the previous changelog.

Fixes #171.

Closes #179
2016-03-16 12:50:30 -07:00
Jeremy Elbourn 40d3f0c1a7 build(): change tsconfig to always use commonjs modules 2016-03-16 12:41:25 -07:00
Jeremy Elbourn 3557839190 build(): add release staging script. 2016-03-15 11:59:12 -07:00