mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
92728de04c
* add git-revision-webpack-plugin * configure git-revision-webpack-plugin * add commit to footer * rename version and commit to backendVersion and frontendVersion * rename version and commit to backendVersion and frontendVersion * disable lint error due to use of globals * fix snapshot test * read frontend version from VERSION file instead latest git revision * directly require from version.json file instead of going through WebPack's DefinePlugin * run snapshots
7 lines
242 B
Bash
Executable File
7 lines
242 B
Bash
Executable File
#!/bin/bash
|
|
VERSION=$(jq -r .version package.json)
|
|
FULL_VERSION=$VERSION+b$CIRCLE_BUILD_NUM
|
|
|
|
sed -ri "s/^__version__ = '([A-Za-z0-9.-]*)'/__version__ = '$FULL_VERSION'/" redash/__init__.py
|
|
sed -i "s/dev/$CIRCLE_SHA1/" client/app/version.json
|