Fix sed version escape v2
This commit is contained in:
parent
d6bdd2e80d
commit
885b2a2047
@ -25,7 +25,7 @@ steps:
|
|||||||
# Make sure that the -master suffix is added to release files
|
# Make sure that the -master suffix is added to release files
|
||||||
- export VERSION=${DRONE_TAG##v}
|
- export VERSION=${DRONE_TAG##v}
|
||||||
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH}; fi
|
- if [ -z "$$VERSION" ]; then export VERSION=${DRONE_BRANCH}; fi
|
||||||
- sed -i "s/\\$${version}/$$VERSION/g" package.json
|
- sed -i "s/\\$$${version}/$$VERSION/g" package.json
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn dist --linux --windows
|
- yarn dist --linux --windows
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user