Github action for automatically determine the version for next release by using repository tags
This action will automatically determine the version for next release by using repository tags. For develop releases:
Action Inputs
- github_token: Token to get tags from the repo. Pass in using ‘secrets.GITHUB_TOKEN’.
- mode: Mode for next version calculation. Default: ‘dev’. Available options:
- dev: increment the ‘dev’ version (ignoring commit message) e.g. 1.0-dev1, 1.0-dev2.
- official search the commit message for hashtags: #major – for major version (e.g 2.0), #patch – for patch version (e.g 1.1), if no hashtag found fails.
- suffix: suffix