Skip to content

Commit

Permalink
Fix Scripts/increment_build_number.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
interstateone committed Jan 20, 2021
1 parent f1ecf1a commit b3e7cc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/increment_build_number.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
infoplist_file="$(pwd)/Xcodes/Resources/Info.plist"

# Get latest tag hash matching pattern
hash=$(git rev-list --tags="v" --max-count=1)
hash=$(git rev-list --tags="v*" --max-count=1)
# Get latest tag at hash that matches the same pattern as a prefix in order to support commits with multiple tags
last_tag=$(git describe --tags --match "v*" "$hash")
# Get build number from last component of tag name
Expand Down

0 comments on commit b3e7cc6

Please sign in to comment.