mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
build: associate commits
This commit is contained in:
parent
13b1fa20fc
commit
86e29adbe3
1 changed files with 7 additions and 6 deletions
|
|
@ -2,14 +2,15 @@
|
|||
rm -rf dist
|
||||
yarn build
|
||||
|
||||
GITAKO_VERSION=v$(node scripts/get-version.js)
|
||||
echo "Got version $GITAKO_VERSION"
|
||||
GIT_SHA=$(git rev-parse HEAD)
|
||||
VERSION=v$(node scripts/get-version.js)
|
||||
echo "Got version $VERSION"
|
||||
|
||||
# sentry
|
||||
yarn sentry-cli releases new "$GITAKO_VERSION"
|
||||
yarn sentry-cli releases set-commits --auto $GITAKO_VERSION
|
||||
yarn sentry-cli releases files "$GITAKO_VERSION" upload-sourcemaps dist --no-rewrite
|
||||
yarn sentry-cli releases finalize "$GITAKO_VERSION"
|
||||
yarn sentry-cli releases new "$VERSION"
|
||||
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"
|
||||
|
||||
cd dist
|
||||
rm -f ./gitako.zip
|
||||
|
|
|
|||
Loading…
Reference in a new issue