Skip to content

Commit b3e7cc6

Browse files
committed
Fix Scripts/increment_build_number.sh
1 parent f1ecf1a commit b3e7cc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/increment_build_number.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
infoplist_file="$(pwd)/Xcodes/Resources/Info.plist"
1010

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

0 commit comments

Comments
 (0)