diff --git a/scripts/roll.sh b/scripts/roll.sh index bf1c7b2..29d44a7 100755 --- a/scripts/roll.sh +++ b/scripts/roll.sh @@ -1,5 +1,6 @@ #!/bin/sh rm -rf dist +git push yarn build GIT_SHA=$(git rev-parse HEAD) @@ -9,7 +10,7 @@ echo "Got version $VERSION" # sentry yarn sentry-cli releases new "$VERSION" git push # make sure sentry can retrieve current commit on remote -yarn sentry-cli releases set-commits $VERSION --commit "EnixCoda/Gitako@$GIT_SHA" +yarn sentry-cli releases set-commits "$VERSION" --auto yarn sentry-cli releases files "$VERSION" upload-sourcemaps dist --no-rewrite yarn sentry-cli releases finalize "$VERSION"