Skip to content

Commit f40eb05

Browse files
committed
打包公版,修改版本号
Change-Id: Ic801897b90fb5b754c078da72773c8adbf84b1d7
1 parent 4c034b7 commit f40eb05

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/script/archive.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ echo "远程branch"
99

1010
rb=$GIT_BRANCH_IMAGE_VERSION
1111
rc=$(git rev-parse --short HEAD)
12-
rt=$(git describe --tags `git rev-list --tags --max-count=1`)
13-
#rt=${rtt#*v}
12+
rtt=$(git describe --tags `git rev-list --tags --max-count=1`)
13+
rt=${rtt#*v}
1414

1515
echo $rb
1616
echo $rc
@@ -19,7 +19,7 @@ echo $rt
1919
if [ $1 == 'Debug' ]; then
2020
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rb+git.$rc/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
2121
else
22-
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rt+git.$rc/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
22+
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rt/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
2323
fi
2424

2525
cat Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig

Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
// Copyright © 2020 Winext. All rights reserved.
77

88
LinkAPP_VERSION = local
9-
LinkAPP_BUILD_VERSION = 1
9+
LinkAPP_BUILD_VERSION = 3

0 commit comments

Comments
 (0)