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
This commit is contained in:
Omer Lachish
2018-12-04 22:14:32 +02:00
committed by Arik Fraimovich
parent 3ee7537a6c
commit 0973ee8abb

View File

@@ -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/