Skip to content

Commit

Permalink
fix: Skip releases set-commits (#1084)
Browse files Browse the repository at this point in the history
We currently don’t have a valid GitHub integration in our S4S instance, hence the commits
feature does not work and would otherwise error out.
  • Loading branch information
Swatinem authored Mar 8, 2023
1 parent 13a2ad1 commit c1323fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/create-sentry-release
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eu

VERSION="${1:-}"
ENVIRONMENT="${2:-}"
GITHUB_PROJECT="getsentry/symbolicator"
# GITHUB_PROJECT="getsentry/symbolicator"
export SENTRY_ORG="sentry"
export SENTRY_PROJECT="symbolicator"

Expand All @@ -31,7 +31,8 @@ sentry-cli upload-dif ./symbolicator-debug.zip ./symbolicator.src.zip

echo 'Creating a new deploy in Sentry...'
sentry-cli releases new "${VERSION}"
sentry-cli releases set-commits "${VERSION}" --commit "${GITHUB_PROJECT}@${VERSION}"
# NOTE: linking commits requires a valid GitHub integration in Sentry4Sentry, which we don't have.
# sentry-cli releases set-commits "${VERSION}" --commit "${GITHUB_PROJECT}@${VERSION}"
sentry-cli releases deploys "${VERSION}" new -e "${ENVIRONMENT}"
sentry-cli releases finalize "${VERSION}"
echo 'Deploy created.'

0 comments on commit c1323fc

Please sign in to comment.