Build_linux.sh already tags the installer with the correct version number

This commit is contained in:
Matt McWilliams 2021-04-13 18:39:22 -04:00
parent 4ef318c55e
commit e1c8ba1320
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
version=$(jq -r '.version' ./package.json)
#package app
./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

View File

@ -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
mv "../dist/installers/mcopy-app.dmg" "../dist/installers/mcopy-app_${version}.dmg"