Skip to content

Commit

Permalink
release script help output
Browse files Browse the repository at this point in the history
  • Loading branch information
TalicZealot committed Oct 27, 2023
1 parent 4448867 commit d9feabe
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion SotnRandoTools/create-release.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash
if [ $# -eq 0 ]; then
>&2 echo "Usage: create-release version [-l linux]"
exit 1
fi

mkdir NewRelease
cp -r BizHawk/ExternalTools NewRelease
rm NewRelease/ExternalTools/SotnRandoTools/ToolConfig.ini
rm -r NewRelease/ExternalTools/SotnRandoTools/Replays/*
cd NewRelease
if [ "$2" == "lin" ]; then
if [ "$2" == "-l" ]; then
rm -r ExternalTools/SotnRandoTools/Updater
7z a -tzip $HOME/Desktop/SotnRandoTools-Linux-$1.zip ExternalTools
else
Expand Down

0 comments on commit d9feabe

Please sign in to comment.