Skip to content

Commit

Permalink
打包公版,修改版本号
Browse files Browse the repository at this point in the history
Change-Id: Ic801897b90fb5b754c078da72773c8adbf84b1d7
  • Loading branch information
tonychanchen committed Sep 2, 2020
1 parent 4c034b7 commit f40eb05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/script/archive.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ echo "远程branch"

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

echo $rb
echo $rc
Expand All @@ -19,7 +19,7 @@ echo $rt
if [ $1 == 'Debug' ]; then
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rb+git.$rc/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
else
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rt+git.$rc/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
sed -i "" "s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rt/g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
fi

cat Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
Expand Down
2 changes: 1 addition & 1 deletion Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
// Copyright © 2020 Winext. All rights reserved.

LinkAPP_VERSION = local
LinkAPP_BUILD_VERSION = 1
LinkAPP_BUILD_VERSION = 3

0 comments on commit f40eb05

Please sign in to comment.