From cffd85fce46c8f474dcf87cb27ae0936ddffd53c Mon Sep 17 00:00:00 2001 From: EnixCoda Date: Thu, 14 Mar 2019 21:10:10 +0800 Subject: [PATCH] build: push with tag --- scripts/roll.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/roll.sh b/scripts/roll.sh index 5a1fa0b..f857ad2 100755 --- a/scripts/roll.sh +++ b/scripts/roll.sh @@ -2,11 +2,11 @@ rm -rf dist NODE_ENV=production yarn webpack -git push - GITAKO_VERSION=v$(node scripts/get-version.js) echo "Got version $GITAKO_VERSION" +git push origin $GITAKO_VERSION + # sentry yarn sentry-cli releases new "$GITAKO_VERSION" yarn sentry-cli releases files "$GITAKO_VERSION" upload-sourcemaps dist --no-rewrite