Skip to content

Commit

Permalink
Fixed autoversioning
Browse files Browse the repository at this point in the history
  • Loading branch information
coordt committed Nov 4, 2023
1 parent 68f6da1 commit a308a35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/bumpversion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' }}
shell: bash
run: |
PR_NUMBER=$(gh pr view --json number -q .number || echo "")
REVISION=$(git describe --tags --long | awk -F- '{print $2}')
export PR_NUMBER REVISION
case "$RELEASE_KIND" in
major|minor|patch)
bump-my-version bump "$RELEASE_KIND"
Expand Down

0 comments on commit a308a35

Please sign in to comment.