diff --git a/platform/ios/platform/macos/scripts/deploy-packages.sh b/platform/ios/platform/macos/scripts/deploy-packages.sh index 63a349d7b..f68e20eb8 100755 --- a/platform/ios/platform/macos/scripts/deploy-packages.sh +++ b/platform/ios/platform/macos/scripts/deploy-packages.sh @@ -54,10 +54,10 @@ publish() { cd - if [[ "${GITHUB_RELEASE}" == true ]]; then echo "Uploading ${file_name} to GitHub" - # github-release upload \ - # --tag "macos-v${PUBLISH_VERSION}" \ - # --name ${file_name} \ - # --file "${BINARY_DIRECTORY}/${file_name}" > /dev/null + github-release upload \ + --tag "macos-v${PUBLISH_VERSION}" \ + --name ${file_name} \ + --file "${BINARY_DIRECTORY}/${file_name}" > /dev/null fi if [ ${app} ]; then file_name="Mapbox GL.app.zip" @@ -118,7 +118,7 @@ if [[ $( wget --spider -O- https://api.github.com/repos/${GITHUB_USER}/${GITHUB_ fi PUBLISH_VERSION=$( echo ${VERSION_TAG} | sed 's/^macos-v//' ) -#git checkout ${VERSION_TAG} +git checkout ${VERSION_TAG} step "Deploying version ${PUBLISH_VERSION}…" @@ -142,11 +142,11 @@ if [[ "${GITHUB_RELEASE}" == true ]]; then if [[ $( echo ${PUBLISH_VERSION} | awk '/[0-9]-/' ) ]]; then PUBLISH_PRE_FLAG='--pre-release' fi - # github-release release \ - # --tag "macos-v${PUBLISH_VERSION}" \ - # --name "macos-v${PUBLISH_VERSION}" \ - # --description "${RELEASE_NOTES}" \ - # --draft ${PUBLISH_PRE_FLAG} + github-release release \ + --tag "macos-v${PUBLISH_VERSION}" \ + --name "macos-v${PUBLISH_VERSION}" \ + --description "${RELEASE_NOTES}" \ + --draft ${PUBLISH_PRE_FLAG} fi publish -r xpackage -s symbols