This workflow uses standard-version to automatically handle version bumping and changelog generation.
- Put
release.yamlinside.github/workflows/ - (Optional) If you want to be able to manually set what type of release will be performed create the
following labels (as in the labels that can be applied to issues and PRs) in your repo:
force-release:patchforce-release:minorforce-release:majorforce-release:none
You may want to/be required to make adaptations to this workflow based on the following:
- yarn: This workflow uses
yarn, you may want to change it to use a different package manager - npx: We use
npxto run thestandard-versionscript without having to install it. If you want you can instead choose to install it as a dev dependency and run it like that - credentials: Currently this workflow configures git to use my email
thomassiclark@gmail.comwhen committing and pushing the changes made by it. You may want to change this to use a different email address.