Add logging frontend version to console on startup
This commit is contained in:
@ -38,6 +38,7 @@ steps:
|
||||
commands:
|
||||
- yarn --frozen-lockfile
|
||||
- yarn run lint
|
||||
- echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > version.json
|
||||
- yarn run build
|
||||
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
||||
|
||||
@ -112,6 +113,7 @@ steps:
|
||||
commands:
|
||||
- yarn --frozen-lockfile
|
||||
- yarn run lint
|
||||
- echo '{"VERSION": "'$(git describe --tags --always --abbrev=10 | sed 's/-/+/' | sed 's/^v//' | sed 's/-g/-/')'"}' > version.json
|
||||
- yarn run build
|
||||
- sed -i 's/http\:\\/\\/localhost\\:3456\\/api\\/v1/\\/api\\/v1/g' dist/index.html # Override the default api url used for developing
|
||||
|
||||
|
Reference in New Issue
Block a user