sentry: Remove an unnecessary sudo.

790e4854dd made the hooks run as the `zulip` user, making this sudo
unnecessary.
This commit is contained in:
Alex Vandiver 2023-04-03 18:08:12 +00:00 committed by Tim Abbott
parent 3f199d570d
commit db0ae85d97
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ curl "https://sentry.io/api/0/organizations/$SENTRY_ORG/releases/" \
if [ -n "$MERGE_BASE" ]; then
echo "sentry: Setting commit range based on merge-base to upstream of $MERGE_BASE"
sudo -u zulip --preserve-env=SENTRY_AUTH_TOKEN sentry-cli releases --org="$SENTRY_ORG" set-commits "$SENTRY_RELEASE" --commit="zulip/zulip@$MERGE_BASE"
sentry-cli releases --org="$SENTRY_ORG" set-commits "$SENTRY_RELEASE" --commit="zulip/zulip@$MERGE_BASE"
fi
if [ -n "$SENTRY_FRONTEND_PROJECT" ]; then