-
Notifications
You must be signed in to change notification settings - Fork 90
How to release a new version
Ruslan Hrabovyi edited this page Jan 20, 2024
·
13 revisions
-
Publish
-
Write release notes and assign github tag
-
Increase version number (make sure you do it from the
addon/
folder)$ cd addon && npm version minor
-
Push code to github and push tags
$ git push origin master --follow-tags
-
Publish release notes in github
-
Publish npm package
$ npm login Username: your_npm_username Password: Email: (this IS public) [email protected] $ npm publish
If we are publishing an alpha or beta version, we have to set the appropriate tag on publish
$ npm publish --tag beta
-
-
Update the documentation site
- Checkout the
gh-pages
branch and pull the latest from GitHub - Checkout
master
- Make sure you do the next steps from the
docs/
folder$ cd docs/
- Generate the documentation using
npm run build
- If you're releasing a minor or major version (but not a patch version) you have to update
_data/navs.yml
with the navigation for the new version at the top of the file. (This populates the sidebar nav for that version, includes the version in the version switcher dropdown, and redirects the homepage to the new version's docs.) - Commit the changes to the
gh-pages
branch - Push the
gh-pages
branch to GitHub, which publishes the new documentation.
- Checkout the
-
Send a tweet
-
Add a comment on Ember's Discord (#addon-announcements)
-
Add a comment to each released PR from people that are not maintainers