Skip to content

Commit

Permalink
util/prepare-release.sh: added
Browse files Browse the repository at this point in the history
  • Loading branch information
xyzz committed May 8, 2022
1 parent 400bb4e commit 1aff582
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions util/prepare-release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

set -e

VER=$1
DST=$2

pushd $DST

unzip vial-linux.zip
rm vial-linux.zip
mv Vial-x86_64.AppImage Vial-v$VER-x86_64.AppImage

unzip vial-mac.zip
rm vial-mac.zip
mv vial-mac.dmg Vial-v$VER.dmg

unzip vial-win-installer.zip
rm vial-win-installer.zip
mv VialSetup.exe Vial-v$VER-setup.exe

mv vial-win.zip vial-win2.zip
unzip vial-win2.zip
rm vial-win2.zip
mv vial-win.zip Vial-v$VER-portable.zip

popd

echo "All OK"

0 comments on commit 1aff582

Please sign in to comment.