From 3c6e5876447b17677b6634f105a7c86339848968 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 7 Nov 2018 20:29:40 +0100 Subject: [PATCH] Update update.sh --- update.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/update.sh b/update.sh index b8625871..a1427a19 100755 --- a/update.sh +++ b/update.sh @@ -1,13 +1,15 @@ #!/usr/bin/env bash # Requires SENTRY_AUTH_TOKEN and SENTRY_ORG set in .profile +SENTRY_ORG=${SENTRY_ORG} +SENTRY_AUTH_TOKEN=${SENTRY_AUTH_TOKEN} old=$(git rev-list HEAD -n 1) git pull new=$(git rev-list HEAD -n 1) if [ ${old} = ${new} ]; then version=$(sentry-cli releases propose-version) - sentry-cli releases --org stefano-pigozzi new -p royalnet ${version} - sentry-cli releases --org stefano-pigozzi set-commits --auto ${version} + sentry-cli releases new -p royalnet ${version} + sentry-cli releases set-commits --auto ${version} fi sudo python3.6 -m pip install -r requirements.txt sudo service apache2 restart