Fix version if
This commit is contained in:
parent
652d6f1af9
commit
7d2dc2c052
@ -24,7 +24,7 @@ steps:
|
||||
- sed -i 's/\\/api\\/v1//g' frontend/index.html
|
||||
# Make sure that the -master suffix is added to release files
|
||||
- export VERSION=${DRONE_TAG##v}
|
||||
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH} fi
|
||||
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH}; fi
|
||||
- echo $VERSION
|
||||
- sed -i "s/$${version}/$$VERSION/g" package.json
|
||||
- yarn install
|
||||
|
Loading…
x
Reference in New Issue
Block a user