- Create your branch from master branch. And your pull requests should head to master branch in general.
- Run
npm run buildto builddist/*and commit them. They are not.gitignored.
Be sure your local master branch is up-to-date.
- Create a release branch from master branch.
git switch master && git pullgit switch -c <BRANCH_NAME>
- Update the change log.
VERSION=<TAG> npm run changelog
- Update versions in
package.jsonandpackage-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 pullgit tag <TAG>git push origin <TAG>
npm login- Be sure you are logging in to the
nulabaccount.
- Be sure you are logging in to the
npm publish --dry-runnpm publishnpm logout
- Push
Draft a new releasebutton in https://github.com/nulab/backlog-js/releases . - Paste a URL which links to the
CHANGELOG.md.