Skip to content

Commit

Permalink
Update Bump Version.yml
Browse files Browse the repository at this point in the history
marioparaschiv committed May 4, 2024
1 parent 9a6ad32 commit e6d42e5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/Bump Version.yml
Original file line number Diff line number Diff line change
@@ -26,8 +26,13 @@ jobs:
with:
version: latest

- name: Bump Minor Version
- name: Bump Patch Version
if: ${{ !contains(github.event.head_commit.message, 'major') && !contains(github.event.head_commit.message, 'major') }}
run: |
pnpm version patch

- name: Bump Minor Version
if: contains(github.event.head_commit.message, 'patch')
run: |
pnpm version minor
@@ -36,10 +41,6 @@ jobs:
run: |
pnpm version major
- name: Bump Patch Version
if: contains(github.event.head_commit.message, 'patch')
run: |
pnpm version patch
- name: Push Changes
uses: ad-m/github-push-action@master

0 comments on commit e6d42e5

Please sign in to comment.