Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbot committed Nov 11, 2023
1 parent ecaccf8 commit 4b1466c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
run: |
VERSION=$(grep -oP "Version:\s*\K\d+(\.\d+)*" woocommerce-pos.php)
echo "VERSION=$VERSION" >> $GITHUB_ENV
git fetch --prune --unshallow
LAST_TAG=$(git describe --tags --abbrev=0)
if [[ "v$VERSION" == "$LAST_TAG" ]]; then
echo "Version has not changed. Skipping release..."
Expand Down

0 comments on commit 4b1466c

Please sign in to comment.