From 0f78fa4df44ec393b39dd488690c8159d315d7be Mon Sep 17 00:00:00 2001 From: ssube Date: Sat, 15 Jun 2019 21:18:17 -0500 Subject: [PATCH] build: fix version info --- config/rollup.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/config/rollup.js b/config/rollup.js index 064b0d8..304e0de 100644 --- a/config/rollup.js +++ b/config/rollup.js @@ -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({