From 45eadeb228cbf1ae2f40bffc996b42c4ac4cb96b Mon Sep 17 00:00:00 2001 From: John Hobbs Date: Mon, 7 Oct 2024 15:57:40 -0500 Subject: [PATCH] Send release to Sentry --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 8904bee0d..5bbf78ce6 100644 --- a/package.json +++ b/package.json @@ -73,9 +73,11 @@ "build-storybook": "storybook build --stats-json", "build-test-storybook": "cross-env SMOKE_TEST=true storybook build -o test-storybook --stats-json", "build-subdir": "cd subdir ; yarn build ; cd ..", - "sentry": "yarn sentry:sourcemaps:cli && yarn sentry:sourcemaps:action", + "sentry": "yarn sentry:sourcemaps:cli && yarn sentry:sourcemaps:action && yarn sentry:release && yarn sentry:release:commits", "sentry:sourcemaps:cli": "sentry-cli sourcemaps inject dist && sentry-cli sourcemaps upload dist", "sentry:sourcemaps:action": "sentry-cli sourcemaps inject action && sentry-cli sourcemaps upload action", + "sentry:release": "sentry-cli releases new -p cli $NEXT_VERSION", + "sentry:release:commits": "sentry-cli releases set-commits --auto $NEXT_VERSION", "chromatic": "./dist/bin.js", "chromatic-prebuilt": "./dist/bin.js --storybook-build-dir=\"storybook-static\"", "chromatic-staging": "CHROMATIC_INDEX_URL=https://www.staging-chromatic.com ./dist/bin.js",