build: push with tag

This commit is contained in:
EnixCoda 2019-03-14 21:10:10 +08:00
parent 140cbfc749
commit cffd85fce4
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -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