build: push to remote before tell sentry

This commit is contained in:
EnixCoda 2019-10-19 11:04:46 +08:00
parent e16400e7c4
commit f39403f959
No known key found for this signature in database
GPG key ID: 0C1A07377913A1DD

View file

@ -8,6 +8,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 files "$VERSION" upload-sourcemaps dist --no-rewrite
yarn sentry-cli releases finalize "$VERSION"