1
0

Fix sed version escape

This commit is contained in:
kolaente
2020-10-17 21:04:29 +02:00
parent 7d2dc2c052
commit d7d9ab252a

View File

@ -25,8 +25,7 @@ steps:
# 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
- echo $VERSION
- sed -i "s/$${version}/$$VERSION/g" package.json
- sed -i "s/\$${version}/$$VERSION/g" package.json
- yarn install
- yarn dist --linux --windows