You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
Next Release Version
0.1.2
GitHub Action for bumping Semantic Version Numbers based on branch name
Input | Description |
---|---|
owner |
Required The owner of the repository |
repo |
Required The repository name |
username |
Required The GitHub username |
token |
Required The GitHub token |
branch |
Required The current branch |
project |
The Project Type (Single or Multi) (Default: Single) |
Output | Description |
---|---|
next-version |
The next semantic version for the next release |
folder |
The name of the folder for the branch |
- uses: wemogy/[email protected]
id: release-version
with:
owner: 'wemogy'
repo: 'hello-world'
username: $GITHUB_ACTOR
token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
- run: echo ${{ steps.release-version.outputs.next-version }}