Fix unzip
This commit is contained in:
parent
53e12286d4
commit
143cb200b4
@ -21,7 +21,7 @@ steps:
|
|||||||
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH}; fi
|
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH}; fi
|
||||||
# TODO: Move to a yarn script
|
# TODO: Move to a yarn script
|
||||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
||||||
- unzip vikunja-frontend-master.zip -d frontend
|
- unzip vikunja-frontend-$$VERSION.zip -d frontend
|
||||||
- sed -i 's/\\/api\\/v1//g' frontend/index.html
|
- sed -i 's/\\/api\\/v1//g' frontend/index.html
|
||||||
# Make sure that the -master suffix is added to release files
|
# Make sure that the -master suffix is added to release files
|
||||||
- sed -i "s/\$${version}/$$VERSION/g" package.json
|
- sed -i "s/\$${version}/$$VERSION/g" package.json
|
||||||
|
Loading…
x
Reference in New Issue
Block a user