Skip to content

Commit

Permalink
build: Allow "v" in tagged versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-todorov committed Jul 21, 2023
1 parent befdb5f commit 4c67365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-tagged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
VERSION=$(cat gradle.properties | grep -iE "version([ ]*)=" | cut -f 2 -d "=")
echo $REF
echo $VERSION
if [[ "$REF" != "refs/tags/$VERSION" ]]; then
if [[ "$REF" != "refs/tags/$VERSION" && "$REF" != "refs/tags/v$VERSION" ]]; then
echo "Version mismatch - gradle.properties contains a different version than the git tag! Exiting!"
exit 1
fi
Expand Down

0 comments on commit 4c67365

Please sign in to comment.