Skip to content

Commit

Permalink
Fetch all tags before running sanity check
Browse files Browse the repository at this point in the history
  • Loading branch information
saagarjha committed Feb 25, 2024
1 parent 03e2b26 commit 5a87fbe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
version="$(cat Configs/Deployment.xcconfig | grep CURRENT_PROJECT_VERSION | awk '{ print $3 }')"
# Grab all the tags
git fetch --tags
# Make sure this version doesn't exist already
! git tag --list | grep -q "v$version"
Expand Down

0 comments on commit 5a87fbe

Please sign in to comment.