Fixing windows release script.

This commit is contained in:
lotodore
2012-11-26 22:32:51 +01:00
parent cb03fca5f7
commit f0357af4a8
+2 -2
View File
@@ -9,9 +9,9 @@ if [[ -n "$1" && -n "$2" ]] ; then
find ./PokerTH-$1/ -name ".svn" | xargs rm -Rf find ./PokerTH-$1/ -name ".svn" | xargs rm -Rf
zip -r PokerTH-$1-windows.zip ./PokerTH-$1 zip -r PokerTH-$1-windows.zip ./PokerTH-$1
~/bitrock-installbuilder/installbuilder-7.2.5/bin/builder build ~/slave/pokerth-release-win32/build/pokerth_bitrock_windows.xml windows ~/bitrock-installbuilder/bin/builder build ~/slave/pokerth-release-win32/build/pokerth_bitrock_windows.xml windows
mv ~/bitrock-installbuilder/installbuilder-7.2.5/output/PokerTH-$1-windows-installer.exe . mv ~/bitrock-installbuilder/output/PokerTH-$1-windows-installer.exe .
scp PokerTH-$1-windows-installer.exe PokerTH-$1-windows.zip lotodore,pokerth@frs.sourceforge.net:/home/frs/project/p/po/pokerth/pokerth/$2/ scp PokerTH-$1-windows-installer.exe PokerTH-$1-windows.zip lotodore,pokerth@frs.sourceforge.net:/home/frs/project/p/po/pokerth/pokerth/$2/
md5sum PokerTH-$1-windows-installer.exe md5sum PokerTH-$1-windows-installer.exe
rm PokerTH-$1-windows-installer.exe rm PokerTH-$1-windows-installer.exe