From a96af1d78dd6a61fda93f768c69cc508d98eb77c Mon Sep 17 00:00:00 2001 From: Petr Pokorny Date: Mon, 1 Feb 2021 09:49:24 +0100 Subject: [PATCH] Make sure the code is checked out at the tag being released. --- platform/ios/platform/ios/scripts/deploy-swift-package.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/ios/platform/ios/scripts/deploy-swift-package.sh b/platform/ios/platform/ios/scripts/deploy-swift-package.sh index f59b30faa..8c7c9058e 100755 --- a/platform/ios/platform/ios/scripts/deploy-swift-package.sh +++ b/platform/ios/platform/ios/scripts/deploy-swift-package.sh @@ -95,6 +95,8 @@ if github-release info --tag ${VERSION_TAG} | grep --quiet "draft: ✗"; then fi PUBLISH_VERSION=$( echo ${VERSION_TAG} | sed 's/^ios-v//' ) +git checkout ${VERSION_TAG} + npm install --ignore-scripts mkdir -p ${BINARY_DIRECTORY}