mirror of
https://github.com/EnixCoda/Gitako.git
synced 2026-03-11 08:54:44 +00:00
chore: prefix 'v' for version
This commit is contained in:
parent
cee198e036
commit
84a2552067
2 changed files with 5 additions and 2 deletions
|
|
@ -1,7 +1,10 @@
|
|||
#!/bin/sh
|
||||
rm -rf dist
|
||||
NODE_ENV=production yarn webpack
|
||||
GITAKO_VERSION=$(node scripts/get-version.js)
|
||||
|
||||
git push
|
||||
|
||||
GITAKO_VERSION=v$(node scripts/get-version.js)
|
||||
echo "Got version $GITAKO_VERSION"
|
||||
|
||||
# sentry
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ const PROJECT_ID = '1406497'
|
|||
|
||||
Sentry.init({
|
||||
dsn: `https://${PUBLIC_KEY}@sentry.io/${PROJECT_ID}`,
|
||||
release: version,
|
||||
release: `v${version}`,
|
||||
environment: IN_PRODUCTION_MODE ? 'production' : 'development',
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue