This action calculates a version based on the base version passed in.
baseversion.buildnumber
if not off 'master' then it will be baseversion.buildnumber-branch
Name of the release branch - defaults to "master"
.
Base version of the product, like 6.0
The version that was calculated.
- name: calculate version
uses: waynebrantley/github-branchversion@v1
with:
release-branch: 'main'
base-version: '6.0'