From 6174ed5c03b3b6828be44f7c1d8a3e86c9606c63 Mon Sep 17 00:00:00 2001 From: Enix Date: Fri, 1 Nov 2019 14:46:38 +0800 Subject: [PATCH] build: try auto release integration again --- scripts/roll.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"