Release scripts for all of Escale's workflows
- Prints the commits that are being considered for the version bump
- Uses
conventional-recommended-bumpandsemverto 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] [--major-version <version>] [--gpg-sign]--update-package-json: pass this option if you want the releaser to update the version number in yourpackage.jsonfile.⚠️ Only use this option for releasing NPM packages, not applications.--major-version: pass this option followed by a major version number to generate a tag specifically for a major version.--gpg-sign: pass this option to GPG sign your generated tags.--release-title: pass this option followed by a title to create an annotated tag using that title as the message.
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-changelogor similar tool.
