Skip to content

GitHub action to bump a semantic version.

Notifications You must be signed in to change notification settings

Mobelux/bump-version-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bump Version

A GitHub Action to bump a given version number.

Inputs

inputs:
  version:
    description: The current semantic version number.
    required: true
  release-type:
    description: Type of release. Must be one of `patch` | `minor` | `major`.
    required: true

Outputs

outputs:
  version:
    description: The new version number.
  major-version:
    description: The major version number.

Example Usage

- uses: uses: Mobelux/bump-version-action@v1
  id: bump
  with:
    version: '1.0.0'
    release-type: 'minor'

See this repo's release workflow for a complete example.

Acknowledgments

Uses semver-tool