forked from organicmaps/organicmaps-tmp
[ios] Use today's commits count and two numbers from commit hash in the build number
Now it looks like this: ios_version 2024.03.27 ios_build 1.44211.31960 And allows deploying different versions from branches into the TestFlight without clashing Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
a4781d12f2
commit
ee36eb8d12
1 changed files with 3 additions and 1 deletions
|
@ -31,7 +31,9 @@ function ios_version {
|
|||
}
|
||||
|
||||
function ios_build {
|
||||
echo "$COUNT"
|
||||
MINOR=$((16#${GIT_HASH:0:4}))
|
||||
PATCH=$((16#${GIT_HASH:4:4}))
|
||||
echo "$COUNT.$MINOR.$PATCH"
|
||||
}
|
||||
|
||||
function android_name {
|
||||
|
|
Loading…
Add table
Reference in a new issue