From f40eb05d2174c627c72d869e5a17a207cdcab3e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?eagleychen=28=E9=99=88=E9=B9=B0=29?= Date: Wed, 2 Sep 2020 20:51:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E5=85=AC=E7=89=88=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ic801897b90fb5b754c078da72773c8adbf84b1d7 --- .github/script/archive.sh | 6 +++--- Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/script/archive.sh b/.github/script/archive.sh index 73a4fc855..8332771c7 100644 --- a/.github/script/archive.sh +++ b/.github/script/archive.sh @@ -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 @@ -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 diff --git a/Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig b/Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig index 64b533fa2..305fd977c 100644 --- a/Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig +++ b/Source/LinkApp/Supporting Files/LinkAppCommon.xcconfig @@ -6,4 +6,4 @@ // Copyright © 2020 Winext. All rights reserved. LinkAPP_VERSION = local -LinkAPP_BUILD_VERSION = 1 +LinkAPP_BUILD_VERSION = 3