fix: version in release files
This change automatically updates the version in the package.json file which will be taken into account by electron-builder to include the correct package version in release files. Resolves https://github.com/go-vikunja/desktop/issues/9
This commit is contained in:
parent
9f517227d6
commit
63519c15d2
@ -51,8 +51,7 @@ steps:
|
|||||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
||||||
- unzip vikunja-frontend-$$VERSION.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 -unstable suffix is added to release files
|
- ./bumpp.sh
|
||||||
- sed -i "s/\$${version}/$$VERSION/g" package.json
|
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn dist --linux --windows
|
- yarn dist --linux --windows
|
||||||
|
|
||||||
@ -125,8 +124,7 @@ steps:
|
|||||||
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
- wget https://dl.vikunja.io/frontend/vikunja-frontend-$$VERSION.zip
|
||||||
- unzip vikunja-frontend-$$VERSION.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 -unstable suffix is added to release files
|
- ./bumpp.sh
|
||||||
- sed -i "s/\$${version}/$$VERSION/g" package.json
|
|
||||||
- yarn install
|
- yarn install
|
||||||
- yarn dist --linux --windows
|
- yarn dist --linux --windows
|
||||||
|
|
||||||
@ -231,6 +229,6 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: f5aa08e285044e34b02b197a309bb8682b8cc9adf630dabaa18cc09cc6b50cf6
|
hmac: 5867c1afb44d79d73076ca7d4185e2e05be1c2d0cfc04152440547baaf6b3013
|
||||||
|
|
||||||
...
|
...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user