Release script should remove output directory when finished

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 58afd37ed5
commit 0cbe779c21
  1. 2
      Java/scripts/md5
  2. 1
      Java/scripts/release.sh

@ -4,6 +4,6 @@ clean.sh:668a2f9b568c55f6a044a509315032f6 -
commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 - commit.sh:5e4448db9ad48e72ec3a1ff4f5763b41 -
jar2.sh:7977fc138ee5db798d08c34734f0be93 - jar2.sh:7977fc138ee5db798d08c34734f0be93 -
jar.sh:821d5a109324d405f05c35c4bb129375 - jar.sh:821d5a109324d405f05c35c4bb129375 -
release.sh:ec6a3f1e1202347a2ebc4f41fc2908e7 - release.sh:b2338320cf2fc250572b4e4d5a887807 -
update.sh:3be721658983183efa395984acd96b03 - update.sh:3be721658983183efa395984acd96b03 -
zip.sh:273f5a83b80a8e54022d60514dfeec0a - zip.sh:273f5a83b80a8e54022d60514dfeec0a -

@ -13,6 +13,7 @@ elif [ "$1" = "linux" ];then
jpackage --input RabiClone --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut jpackage --input RabiClone --main-jar bin/RabiClone.jar --main-class sig.RabiClone --type app-image --dest RabiCloneOut
cp -R RabiCloneOut/RabiClone/lib/app/* RabiCloneOut/RabiClone cp -R RabiCloneOut/RabiClone/lib/app/* RabiCloneOut/RabiClone
jpackage --app-image RabiCloneOut/RabiClone --name RabiClone jpackage --app-image RabiCloneOut/RabiClone --name RabiClone
rm -Rf RabiCloneOut
cd RabiClone cd RabiClone
echo "Done!" echo "Done!"
else else

Loading…
Cancel
Save