We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1ecf1a commit b3e7cc6Copy full SHA for b3e7cc6
Scripts/increment_build_number.sh
@@ -9,7 +9,7 @@
9
infoplist_file="$(pwd)/Xcodes/Resources/Info.plist"
10
11
# Get latest tag hash matching pattern
12
-hash=$(git rev-list --tags="v" --max-count=1)
+hash=$(git rev-list --tags="v*" --max-count=1)
13
# Get latest tag at hash that matches the same pattern as a prefix in order to support commits with multiple tags
14
last_tag=$(git describe --tags --match "v*" "$hash")
15
# Get build number from last component of tag name
0 commit comments