Fix sed version escape
This commit is contained in:
parent
7d2dc2c052
commit
d7d9ab252a
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user