From ef67669c16ee36797144852040f974796cfc929d Mon Sep 17 00:00:00 2001 From: Tae Won Ha Date: Sun, 28 Apr 2019 09:58:37 +0200 Subject: [PATCH] Adapt to (yet) manual notarization process --- bin/build.sh | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index 43554ee0..7280c77a 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -25,10 +25,11 @@ if [[ "${PUBLISH}" = true ]] && [[ "${RELEASE_NOTES}" == "" ]] ; then exit 1 fi -if [[ "${IS_SNAPSHOT}" = false ]] && [[ "${UPDATE_APPCAST}" = false ]] ; then - echo "### ERROR Not updating appcast for release!" - exit 1 -fi +# We have to manually notarize the app for now. +#if [[ "${IS_SNAPSHOT}" = false ]] && [[ "${UPDATE_APPCAST}" = false ]] ; then +# echo "### ERROR Not updating appcast for release!" +# exit 1 +#fi if [[ "${IS_SNAPSHOT}" = false ]] && [[ "${BRANCH}" != "master" ]] ; then echo "### ERROR Not building master for release!" @@ -50,10 +51,10 @@ echo "### Building VimR" ./bin/prepare_repositories.sh ./bin/clean_old_builds.sh -if [[ "${PUBLISH}" = true ]] ; then +if [[ "${IS_SNAPSHOT}" = false ]] || [[ "${PUBLISH}" = true ]] ; then ./bin/set_new_versions.sh ${IS_SNAPSHOT} "${MARKETING_VERSION}" else - echo "Not publishing => not incrementing the version..." + echo "Not publishing and no release => not incrementing the version..." fi ./bin/build_vimr.sh true