Skip to content

Commit

Permalink
Update pr_tag_commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zpl-zak committed Feb 24, 2025
1 parent e6cee34 commit 5be2671
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr_tag_commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
IFS='.' read -ra PREV <<< "$PREV_VERSION"
# Major/minor check (ignore patch)
if [[ ${NEW[0]} -gt ${PREV[0]} || (${NEW[0]} -eq ${PREV[0]} && ${NEW[1]} -gt ${PREV[1]}) ]];
then
#if [[ ${NEW[0]} -gt ${PREV[0]} || (${NEW[0]} -eq ${PREV[0]} && ${NEW[1]} -gt ${PREV[1]}) ]];
#then
echo "RELEASE_NEEDED=true" >> $GITHUB_ENV
echo "new_tag=v${NEW_VERSION}" >> $GITHUB_ENV
fi
#fi
- name: Create semver tag and release
if: env.RELEASE_NEEDED == 'true'
Expand Down

0 comments on commit 5be2671

Please sign in to comment.