switch version bumping
This commit is contained in:
@@ -38,9 +38,20 @@ jobs:
|
|||||||
- name: Install Bump tool
|
- name: Install Bump tool
|
||||||
run: uv tool install bump-my-version
|
run: uv tool install bump-my-version
|
||||||
- name: Bump version
|
- name: Bump version
|
||||||
id: bump_version
|
id: bump
|
||||||
|
uses: callowayproject/bump-my-version@master
|
||||||
|
env:
|
||||||
|
BUMPVERSION_TAG: "true"
|
||||||
|
with:
|
||||||
|
args: ${{ inputs.bump-type }}
|
||||||
|
github-token: ${{ secrets.GH_TOKEN }}
|
||||||
|
|
||||||
|
- name: Check
|
||||||
|
if: steps.bump.outputs.bumped == 'true'
|
||||||
run: |
|
run: |
|
||||||
uv tool run bump-my-version bump ${{ github.event.inputs.bump }} --allow-dirty
|
echo "Version was bumped from ${{ steps.bump.outputs.previous-version }} to ${{ steps.bump.outputs.current-version }}!"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- name: Add release notes to environment
|
- name: Add release notes to environment
|
||||||
id: add_release_notes
|
id: add_release_notes
|
||||||
|
|||||||
Reference in New Issue
Block a user