A GitHub Action to bump a given version number.
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:
version:
description: The new version number.
major-version:
description: The major version number.
- 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.
Uses semver-tool