mirror of
https://github.com/XcodesOrg/XcodesApp.git
synced 2026-03-25 08:55:46 +00:00
Fix Scripts/increment_build_number.sh
This commit is contained in:
parent
f1ecf1ad3d
commit
b3e7cc62ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue