Skip to content

Commit

Permalink
Avoid recursive tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
bdunderscore committed Aug 20, 2023
1 parent 1939b5d commit 5a17308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
git fetch --tags
git log
git log 0.0.1
VERSION_TAG=$(git describe --tags| sed 's/-\([0-9]\+\)-/-alpha.\1./')
VERSION_TAG=$(git describe --tags --exclude='*-*.*.*'| sed 's/-\([0-9]\+\)-/-alpha.\1./')
jq ".version = \"$VERSION_TAG\"" Packages/${{env.packageName}}/package.json > tmp.$$.json
mv tmp.$$.json Packages/${{env.packageName}}/package.json
cat Packages/${{env.packageName}}/package.json
Expand Down

0 comments on commit 5a17308

Please sign in to comment.