This commit is contained in:
parent
38a5ce652d
commit
d1fd1c1994
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
echo 'Updating Sentry Project: '${PLUGIN_SENTRY_PROJECT}
|
||||
echo 'Updating Sentry Project: '${SENTRY_PROJECT}
|
||||
echo 'New Release: '${DRONE_REPO}':'${DRONE_COMMIT_SHA}
|
||||
|
||||
curl https://sentry.kmlabz.com/api/0/organizations/kmlabz/releases/ \
|
||||
curl https://${SENTRY_DOMAIN}/api/0/organizations/kmlabz/releases/ \
|
||||
-X POST \
|
||||
-H 'Authorization: Bearer '${SENTRY_TOKEN} \
|
||||
-H 'Content-Type: application/json' \
|
||||
@ -14,6 +14,6 @@ curl https://sentry.kmlabz.com/api/0/organizations/kmlabz/releases/ \
|
||||
"repository":"'${DRONE_REPO}'",
|
||||
"commit":"'${DRONE_COMMIT_SHA}'"
|
||||
}],
|
||||
"projects":["'${PLUGIN_SENTRY_PROJECT}'"]
|
||||
"projects":["'${SENTRY_PROJECT}'"]
|
||||
}
|
||||
'
|
Loading…
Reference in New Issue
Block a user