From d23a543c3ce690b928db2e5a7957037c7360db1c Mon Sep 17 00:00:00 2001 From: Enix Date: Fri, 1 Nov 2019 14:51:23 +0800 Subject: [PATCH] chore: merge push commands --- scripts/roll.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/roll.sh b/scripts/roll.sh index 29d44a7..1a27d27 100755 --- a/scripts/roll.sh +++ b/scripts/roll.sh @@ -1,6 +1,5 @@ #!/bin/sh rm -rf dist -git push yarn build GIT_SHA=$(git rev-parse HEAD) @@ -8,8 +7,8 @@ VERSION=v$(node scripts/get-version.js) 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 new "$VERSION" 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"