File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Source/LinkApp/Supporting Files Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ echo "远程branch"
99
1010rb=$GIT_BRANCH_IMAGE_VERSION
1111rc=$( 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
1515echo $rb
1616echo $rc
@@ -19,7 +19,7 @@ echo $rt
1919if [ $1 == ' Debug' ]; then
2020 sed -i " " " s/LinkAPP_VERSION.*/LinkAPP_VERSION = $rb +git.$rc /g" Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
2121else
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
2323fi
2424
2525cat Source/LinkApp/Supporting\ Files/LinkAppCommon.xcconfig
Original file line number Diff line number Diff line change 66// Copyright © 2020 Winext. All rights reserved.
77
88LinkAPP_VERSION = local
9- LinkAPP_BUILD_VERSION = 1
9+ LinkAPP_BUILD_VERSION = 3
You can’t perform that action at this time.
0 commit comments