From a84eea56945f38dd2b9749ba2e3af1d521f5f448 Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Sun, 7 Feb 2021 13:57:43 +0100 Subject: [PATCH] Fix reset before tagging --- scripts/submit-appcenter.sh | 3 ++- scripts/submit-appstore.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/submit-appcenter.sh b/scripts/submit-appcenter.sh index 5e8544cd..23e738bb 100755 --- a/scripts/submit-appcenter.sh +++ b/scripts/submit-appcenter.sh @@ -1,8 +1,9 @@ #!/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 ; } -scripts/reset-archive.sh VERSION=`agvtool mvers -terse1` BUILD=`agvtool vers -terse` git tag "v$VERSION-a$BUILD" + +scripts/reset-archive.sh diff --git a/scripts/submit-appstore.sh b/scripts/submit-appstore.sh index 94a025ef..0e986461 100755 --- a/scripts/submit-appstore.sh +++ b/scripts/submit-appstore.sh @@ -1,8 +1,9 @@ #!/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 ; } -scripts/reset-archive.sh VERSION=`agvtool mvers -terse1` BUILD=`agvtool vers -terse` git tag "v$VERSION-b$BUILD" + +scripts/reset-archive.sh