Skip to content

Commit

Permalink
🔧 chore: Enable version bumping
Browse files Browse the repository at this point in the history
  • Loading branch information
honzabubenik committed Oct 19, 2023
1 parent f7d85c8 commit 16b175d
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ jobs:
if: ${{ env.IS_MERGED_RELEASE_PR == 'true' }}
run: npm ci

# - name: Decide bump type
# if: ${{ env.IS_MERGED_RELEASE_PR == 'false' }}
# id: bump-type
# run: echo "bump=$(npx conventional-recommended-bump -p @localazy/conventional-changelog-preset)" > "$GITHUB_OUTPUT"
#
# - name: Bump version
# if: ${{ env.IS_MERGED_RELEASE_PR == 'false' }}
# run: npm version ${{ steps.bump-type.outputs.bump }} --git-tag-version false
- name: Decide bump type
if: ${{ env.IS_MERGED_RELEASE_PR == 'false' }}
id: bump-type
run: echo "bump=$(npx conventional-recommended-bump -p @localazy/conventional-changelog-preset)" > "$GITHUB_OUTPUT"

- name: Bump version
if: ${{ env.IS_MERGED_RELEASE_PR == 'false' }}
run: npm version ${{ steps.bump-type.outputs.bump }} --git-tag-version false

- name: Update changelog
if: ${{ env.IS_MERGED_RELEASE_PR == 'false' }}
Expand Down

0 comments on commit 16b175d

Please sign in to comment.