diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2022-02-28 16:30:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-28 16:30:40 +0100 |
| commit | f2208a88fe4bb4bae20a1f821dd175880c2905d5 (patch) | |
| tree | 85544d2d14a04d34cd7a8e98f0261ee877ca8caf /bin/build-electron | |
| parent | bd43e007753c1e5baf1f8b191944378beb68c6ec (diff) | |
installer updates (#1565)
* * build zip versions for macOS and windows
* set application version macOS and Windows
* automatically uninstall previous version in Windows
* add zip to upload
Co-authored-by: rejbasket <rejbasket@users.noreply.github.com>
Diffstat (limited to 'bin/build-electron')
| -rwxr-xr-x | bin/build-electron | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/build-electron b/bin/build-electron index f375e347..9fdb88ae 100755 --- a/bin/build-electron +++ b/bin/build-electron @@ -12,6 +12,10 @@ elif [ "$BUILD" = "osx" ]; then args="-m" fi +# electron version setting on release +if [[ "$VERSION" =~ ^v[0-9][.0-9]+$ ]]; then + sed -i'' -e 's/11.99.11/'"${VERSION#v}"'/' electron/package.json +fi cd electron which yarn > /dev/null 2>&1 || npm install -g yarn yarn --link-duplicates --pure-lockfile |
