- Create your branch from master branch. And your pull requests should head to master branch in general.
- Run
npm run build
to builddist/*
and commit them. They are not.gitignore
d.
Be sure your local master branch is up-to-date.
- Create a release branch from master branch.
git switch master && git pull
git switch -c <BRANCH_NAME>
- Update the change log.
VERSION=<TAG> npm run changelog
- Update versions in
package.json
andpackage-lock.json
.- Manually 😜
- Commit and push. Create a pull request.
git commit -m "<TAG>"
git push
- Create a pull request in your favourite way.
- After the PR is merged, add new tag to the HEAD of master branch.
git switch master && git pull
git tag <TAG>
git push origin <TAG>
npm login
- Be sure you are logging in to the
nulab
account.
- Be sure you are logging in to the
npm publish --dry-run
npm publish
npm logout
- Push
Draft a new release
button in https://github.com/nulab/backlog-js/releases . - Paste a URL which links to the
CHANGELOG.md
.