1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-01 01:32:04 +03:00

Adapt to (yet) manual notarization process

This commit is contained in:
Tae Won Ha 2019-04-28 09:58:37 +02:00
parent c2b78962f3
commit ef67669c16
No known key found for this signature in database
GPG Key ID: E40743465B5B8B44

View File

@ -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