mirror of
https://github.com/reecetech/version-increment.git
synced 2025-12-21 06:25:44 +00:00
Alter PEP440 handling to support both sem and cal
This commit is contained in:
@@ -11,6 +11,10 @@ inputs:
|
||||
description: 'Versioning scheme - semver, or, calver (defaults to semver)'
|
||||
required: false
|
||||
default: 'semver'
|
||||
pep440:
|
||||
description: 'PEP440 compatibility mode - shifts the pre-release version information into build metadata instead'
|
||||
required: false
|
||||
default: false
|
||||
increment:
|
||||
description: |
|
||||
Field to increment - major, minor, or, patch (defaults to patch)
|
||||
@@ -69,4 +73,5 @@ runs:
|
||||
env:
|
||||
current_version: ${{ steps.version-lookup.outputs.CURRENT_VERSION }}
|
||||
increment: ${{ inputs.increment }}
|
||||
pep440: ${{ inputs.pep440 }}
|
||||
scheme: ${{ inputs.scheme }}
|
||||
|
||||
Reference in New Issue
Block a user