Skip to content

Commit f49f56c

Browse files
committed
Update sourcemaps upload to work with the v2 sentry-cli
The command for uploading sourcemaps has changed for the v2 sentry-cli, this commit updates our CI process to use the new command rather than the no-longer-supported v1 command.
1 parent 3f01b5e commit f49f56c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/upload-sourcemaps.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,7 @@ jobs:
3636
cp -r dist/mdot dist/p
3737
VERSION="mdot@$(sentry-cli releases propose-version)"
3838
export VERSION
39+
sentry-cli releases new "$VERSION"
3940
sentry-cli releases set-commits "$VERSION" --auto --ignore-missing
40-
sentry-cli releases files "$VERSION" upload-sourcemaps --validate --log-level info --strip-common-prefix ./dist/ --ignore mdot
41+
sentry-cli sourcemaps upload --release "$VERSION" --validate --log-level info --strip-common-prefix ./dist/ --ignore mdot
42+
sentry-cli releases finalize "$VERSION"

0 commit comments

Comments
 (0)