diff --git a/Submodules/fastlane-ci-templates b/Submodules/fastlane-ci-templates index 0c3145c1..2abf37fa 160000 --- a/Submodules/fastlane-ci-templates +++ b/Submodules/fastlane-ci-templates @@ -1 +1 @@ -Subproject commit 0c3145c150fa278e9c718763e33864757f8948b6 +Subproject commit 2abf37faeea34aa5647be1bd21abd0e0663ac0ee diff --git a/scripts/submit-appcenter.sh b/scripts/submit-appcenter.sh new file mode 100755 index 00000000..adcd68f7 --- /dev/null +++ b/scripts/submit-appcenter.sh @@ -0,0 +1,7 @@ +#!/bin/sh +ci/dev-deploy.sh mac || { echo "Failed to deploy macOS" ; exit 1 ; } +ci/dev-deploy.sh ios || { echo "Failed to deploy iOS" ; exit 1 ; } + +VERSION=`agvtool mvers -terse1` +BUILD=`agvtool vers -terse` +git tag "v$VERSION-a$BUILD" diff --git a/scripts/submit.sh b/scripts/submit-appstore.sh similarity index 62% rename from scripts/submit.sh rename to scripts/submit-appstore.sh index 5e117be7..e90c1043 100755 --- a/scripts/submit.sh +++ b/scripts/submit-appstore.sh @@ -1,3 +1,7 @@ #!/bin/sh ci/store-deploy.sh mac || { echo "Failed to deploy macOS" ; exit 1 ; } ci/beta-deploy.sh ios || { echo "Failed to deploy iOS" ; exit 1 ; } + +VERSION=`agvtool mvers -terse1` +BUILD=`agvtool vers -terse` +git tag "v$VERSION-b$BUILD"