From 0973ee8abbeea3cf74ca082fdc3c9acfeb4beb85 Mon Sep 17 00:00:00 2001 From: Omer Lachish Date: Tue, 4 Dec 2018 22:14:32 +0200 Subject: [PATCH] Include correct version in production builds (#3163) * take the first 8 characters for frontend version, not backend version * run `npm run build` after version has been updated in CI * `pack` should run last --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index aee6b0b8e..7d50f3845 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,9 +81,9 @@ jobs: - checkout - run: sudo apt install python-pip - run: npm install + - run: .circleci/update_version - run: npm run bundle - run: npm run build - - run: .circleci/update_version - run: .circleci/pack - store_artifacts: path: /tmp/artifacts/