Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
arrow-up-circle

GitHub Action

Next Release Version

0.1.1

Next Release Version

arrow-up-circle

Next Release Version

Find the right semantic version for the next release

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Next Release Version

uses: wemogy/[email protected]

Learn more about this action in wemogy/next-version-action

Choose a version

Next Release Version GitHub Action

GitHub Action for bumping Semantic Version Numbers based on branch name

Inputs

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)

Outputs

Output Description
next-version The next semantic version for the next release
folder The name of the folder for the branch

Example usage

- 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 }}