Build_linux.sh already tags the installer with the correct version number
This commit is contained in:
parent
4ef318c55e
commit
e1c8ba1320
|
@ -1,5 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
version=$(jq -r '.version' ./package.json)
|
||||||
|
|
||||||
#package app
|
#package app
|
||||||
./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist
|
./node_modules/.bin/electron-packager . mcopy-app --overwrite --platform=linux --arch=x64 --icon=assets/icons/icon.png --prune=true --out=../dist
|
||||||
#build a .deb installer
|
#build a .deb installer
|
||||||
|
|
|
@ -10,5 +10,4 @@ mkdir -p ../dist/installers
|
||||||
|
|
||||||
./node_modules/.bin/electron-installer-dmg ../dist/mcopy-app-darwin-x64/mcopy-app.app mcopy-app --out=../dist/installers --icon=assets/icons/icon.icns --overwrite
|
./node_modules/.bin/electron-installer-dmg ../dist/mcopy-app-darwin-x64/mcopy-app.app mcopy-app --out=../dist/installers --icon=assets/icons/icon.icns --overwrite
|
||||||
|
|
||||||
|
|
||||||
mv "../dist/installers/mcopy-app.dmg" "../dist/installers/mcopy-app_${version}.dmg"
|
mv "../dist/installers/mcopy-app.dmg" "../dist/installers/mcopy-app_${version}.dmg"
|
Loading…
Reference in New Issue