Github action for automatically determine the version for next release by using repository tags


GitHub License


GitHub Latest Release


GitHub stars


pulls


size


Doker stars

This action will automatically determine the version for next release by using repository tags. For develop releases: .-dev (e.g 2.0-dev0, 2.0-dev1), for official releases: . (1.0, 2.0, 2.1).

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

     

     

     

    To finish reading, please visit source site