From 535ef6cc2b19db3fc74b332f39ed81f5066406bc Mon Sep 17 00:00:00 2001 From: AykutSarac Date: Mon, 29 May 2023 10:18:33 +0300 Subject: [PATCH] ci: update sentry job --- .github/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 8a4967c..8d7c3d8 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -89,9 +89,11 @@ jobs: curl -sL https://sentry.io/get-cli/ | bash # Create new Sentry release + VERSION=`sentry-cli releases propose-version` + sentry-cli releases set-commits "$VERSION" --auto sentry-cli releases new -p $SENTRY_PROJECT $SENTRY_RELEASE sentry-cli releases set-commits --auto $SENTRY_RELEASE - sentry-cli sourcemaps upload --release=$SENTRY_RELEASE /.out/_next/static/chunks + sentry-cli releases files "$VERSION" upload-sourcemaps /.out/_next/static/chunks sentry-cli releases finalize $SENTRY_RELEASE # Create new deploy for this Sentry release