This is a small guide dedicated to project maintainers.
To generate the project's changelog after a release, you need to install Github changelog generator
with [sudo] gem install github_changelog_generator
.
You also need to generate a Github token following this guide
and add it to your shell profile: export CHANGELOG_GITHUB_TOKEN="«your-40-digit-github-token»"
.
If you have errors like API rate limit exceeded for github_username.
during changelog generation, you have an issue
with your token setup.
Before releasing a new version, you should check for dependencies updates with npm outdated
, and update them if
needed. Don't forget to run npm run lint
after update in case eslint
was updated.
Then follow these steps:
-
Update your local master branch
-
Make sure you have no pending changes
-
Generate projects on all 3 UI branches (Bootstrap, Ionic and Material) and perform a visual sanity check (would love to automate this!)
-
Bump the
package.json
version according to semver, and commit the changes using the new version as the commit message. -
Run
npm publish
. The new version will be tagged and pushed automatically through thepostpublish
script. -
Run
npm run deploy
to update the various branches of the starter kit repository. Make sure you do not have any add-on enabled! -
Run
npm run changelog
. This will create a commit with the new updatedCHANGELOG.md
, but it will not be pushed so you can check it up before pushing. -
Done! 🍹 Now you can tell the world a new version is out! 🔈
The ci/*
branches are used to test different use cases to help guarantee compatibility of generated apps, outside
the standard supported workflow:
ci/canary
uses the@next
tag of Angular CLI and the@latest
version of TypeScript.ci/strict
enables TypeScript strict type checking mode.
These branches should NEVER be merged into master, and are triggered regularly for CI builds using cron-like jobs.
Currently these branches are not automatically updated with newest code pushes, so they should be rebased onto master
branches as often as possible when new changes are merged into master
. Ideally a script could do this update
operations using the CI...
HTTPS for the website is enabled through CloudFlare. Make sure that HTTPS redirection is enabled in the CloudFlare settings.