Release scripts for all of Escale's workflows
- Prints the commits that are being considered for the version bump
- Uses
conventional-recommended-bump
andsemver
to figure out the next version - Asks for your approval
- Creates the new tag on the current commit
- Pushes the tag
- npx - automatically bundled with Node.js 8.2+
- Git
npx github:escaletech/releaser [--update-package-json]
--update-package-json
: pass this option if you want the releaser to update the version number in yourpackage.json
file.⚠️ Only use this option for releasing NPM packages, not applications.
For calling with npm run release
in Node.js projects:
{
"scripts": {
"release": "npx github:escaletech/releaser"
}
}
For calling with make release
, in Go or Terraform projects:
release:
npx github:escaletech/releaser
- It doesn't update any changelog file. To do so, we recommend using
conventional-changelog
or similar tool.