iOS: version 0.9.0, dev title "Dev Build N", dev short version major.minor.build

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rootandClaude Opus 5.5 committed 2026-11-18 15:03:09 -08:00
1 parent 4ddcfd7ff5
commit 0fbd7c848f
3 files changed
+6 -5

No files matched your search

+3 -2
View File
@@ -25,8 +25,9 @@ DD=$B/dd-$MODE
CHANNEL=$([ "$MODE" = dev ] && echo dev || echo release)
MV=$(sed -nE 's/^ *MARKETING_VERSION: "(.*)"/\1/p' project.yml)
BN=$(sed -nE 's/^ *CURRENT_PROJECT_VERSION: "(.*)"/\1/p' project.yml)
[ "$MODE" = dev ] && MV=$MV.$BN
# "1.0 RC 1" -> 1.0-rc1, used in file names and release tags.
# iOS allows at most three numbers, so dev keeps major.minor and puts the build last (0.9.0 build 27 -> 0.9.27).
[ "$MODE" = dev ] && MV=$(echo "$MV" | cut -d. -f1-2).$BN
# "0.9.0" -> 0.9.0, "1.0 RC 1" -> 1.0-rc1, used in file names and release tags.
VERSION=$(sed -nE 's/^ *VERSION_LABEL: "(.*)"/\1/p' project.yml | tr 'A-Z' 'a-z' | sed -E 's/ (rc|beta) /-\1/; s/ /-/g')
IPA=$B/$MODE/stemify-$VERSION$SUFFIX.ipa