From d06bdcdd4a36b56d760453f3d816dc21049e551b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 19 Jul 2020 13:44:10 +0200 Subject: [PATCH] use drone plugin setting --- script.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/script.sh b/script.sh index a9a9a7e..904085b 100644 --- a/script.sh +++ b/script.sh @@ -1,11 +1,11 @@ #!/usr/bin/env bash -echo 'Updating Sentry Project: '${SENTRY_PROJECT} +echo 'Updating Sentry Project: '${PLUGIN_SENTRY_PROJECT} echo 'New Release: '${DRONE_REPO}':'${DRONE_COMMIT_SHA} -curl https://${SENTRY_DOMAIN}/api/0/organizations/kmlabz/releases/ \ +curl https://${PLUGIN_SENTRY_DOMAIN}/api/0/organizations/kmlabz/releases/ \ -X POST \ - -H 'Authorization: Bearer '${SENTRY_TOKEN} \ + -H 'Authorization: Bearer '${PLUGIN_SENTRY_TOKEN} \ -H 'Content-Type: application/json' \ -d ' { @@ -14,6 +14,6 @@ curl https://${SENTRY_DOMAIN}/api/0/organizations/kmlabz/releases/ \ "repository":"'${DRONE_REPO}'", "commit":"'${DRONE_COMMIT_SHA}'" }], - "projects":["'${SENTRY_PROJECT}'"] + "projects":["'${PLUGIN_SENTRY_PROJECT}'"] } -' \ No newline at end of file +'