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: |