Skip to content

Commit 71ea7e7

Browse files
committed
发布脚本更新
1 parent d307986 commit 71ea7e7

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

build_apk.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -277,14 +277,14 @@ if [ "$isOfficial"x = "true"x ]; then
277277
fi
278278

279279

280-
#if [ "$isOfficial"x = "true"x ]; then
281-
# # 提交各种修改
280+
if [ "$isOfficial"x = "true"x ]; then
281+
# 提交各种修改
282282

283283
# echo "********APK build start check app.ini *******"
284284
# cd $localPath
285285
# git add Application/src/main/assets/app.ini
286286
# git commit Application/src/main/assets/app.ini -m"auto update new app.ini to svn by build.sh, author:hardy"
287-
#
287+
288288
# echo "********APK build start check mapping_resource *******"
289289
# cd $localPath
290290
# cp -r $localPath/bin/temp/official/mapping/${tag}_mapping_resource.txt $localPath/mapping_resource.txt
@@ -312,21 +312,21 @@ fi
312312
# checkResult
313313
# fi
314314
# git status
315-
#
316-
# echo "********APK build start add tag*******"
317-
# git tag -a $tag --file=$localPath/bin/${tag}
318-
# checkResult
319-
# git status
320-
# git show $tag | head
321-
# checkResult
322-
# echo "********APK build start push code*******"
323-
# git config push.default simple
324-
# git push
325-
# checkResult
326-
# echo "********APK build start push tag*******"
327-
# git push origin $tag
328-
# checkResult
329-
#fi
330-
#git status
331-
#rm -fr $localPath/bin/temp
315+
316+
echo "********APK build start add tag*******"
317+
git tag -a $tag --file=$localPath/bin/${tag}
318+
checkResult
319+
git status
320+
git show $tag | head
321+
checkResult
322+
echo "********APK build start push code*******"
323+
git config push.default simple
324+
git push
325+
checkResult
326+
echo "********APK build start push tag*******"
327+
git push origin $tag
328+
checkResult
329+
fi
330+
git status
331+
rm -fr $localPath/bin/temp
332332
checkResult

0 commit comments

Comments
 (0)