Automate versioning (and changelogs) when a release is created.
$ vdeployThat's it! It'll walk you through the setup process the first time.
You will need to edit .github/workflows/vdeploy.yml to match your release process.
See this package's vdeploy.yml to get an idea how to set one up for your project.
- Install the
vdeploy.ymlandincr-version.shin the right places - Checks for outstanding PR and merge them (requires GitHub CLI)
- Update
CHANGELOG.mdfrom commit log (you can editable, vim) - Create a release with the next version number as tag and title (editable)
When a release is created:
- Triggers deployment workflow (see the file)
- Increment
package.json's minorversion - Create a PR of the modified
package.json
Increment the version number minor based on what was just released.