1
0
Fork 0

build: fix version info

This commit is contained in:
ssube 2019-06-15 21:18:17 -05:00
parent 035e5cacfe
commit 0f78fa4df4
1 changed files with 5 additions and 5 deletions

View File

@ -23,11 +23,11 @@ export default {
delimiters: ['{{ ', ' }}'],
values: {
APP_NAME: metadata.name,
BUILD_JOB: '0',
BUILD_RUNNER: 'rollup',
GIT_BRANCH: '',
GIT_COMMIT: '',
NODE_VERSION: '',
BUILD_JOB: process.env['CI_JOB_ID'],
BUILD_RUNNER: process.env['CI_ENVIRONMENT_SLUG'],
GIT_BRANCH: process.env['CI_COMMIT_REF_SLUG'],
GIT_COMMIT: process.env['CI_COMMIT_SHA'],
NODE_VERSION: process.env['NODE_VERSION'],
},
}),
resolve({