From 09715fd704b7a7283894c6f096221880c40cc821 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Thu, 17 Mar 2022 10:46:44 +0000 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8f9fb3c1..2c75ae39 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,10 +8,11 @@ jobs: working_directory: ~/Cider docker: - image: circleci/node:16 - environment: - APP_VERSION: $(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1) steps: - checkout + - run: + name: Set App Version + command: echo 'export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)' >> $BASH_ENV - run: name: Update Package Managers command: sudo npm update -g npm yarn @@ -29,7 +30,7 @@ jobs: - ~/.cache/yarn - run: name: Get App Version - command: echo $APP_VERSION ${APP_VERSION} + command: echo $APP_VERSION - run: name: Install system build dependencies command: |