mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-01 18:54:36 -05:00
Fix version if
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user