Skip to content

A github action repository that bumps a semantic version given a version and type of version bump

License

Notifications You must be signed in to change notification settings

jessicalostinspace/bump-semantic-version-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Bump Semantic Version

This action gives you a bumped semantic version, given the version you want to bump and a string ('MAJOR', 'MINOR', 'PATCH').

Inputs

semantic-version

Required The semantic version you want to increase.

version-type

Required The portion of the semantic version you want to increase ('MAJOR', 'MINOR', 'PATCH'). Default MINOR.

Outputs

bumped-semantic-version

The bumped semantic version.

Example usage

name: Get Bumped Semantic Version
  id: bsv
  uses: ./
  with:
    semantic-version: ${{ steps.lrb.outputs.last-semver }}
    version-type: 'MINOR'

About

A github action repository that bumps a semantic version given a version and type of version bump

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published