fixed publish script

This commit is contained in:
Rudis Muiznieks 2018-05-22 09:47:47 -05:00
parent 8210276c8e
commit b40a6abf89
No known key found for this signature in database
GPG key ID: 1C290B51E05090F8

View file

@ -4,7 +4,8 @@ DIR=`dirname $0`
rm -rf $DIR/../*/bin $DIR/../*/obj
xbuild /p:Configuration=Release $DIR/../Ficdown.sln
cp -R $DIR/../Ficdown.Console/bin/Release /tmp/ficdown
rm -f /tmp/ficdown/*.mdb
rm -f /tmp/ficdown/*.mdb /tmp/ficdown/*.pdb
rm /tmp/ficdown/Ficdown.Console.exe.config
mv /tmp/ficdown/Ficdown.Console.exe /tmp/ficdown/ficdown.exe
zip -j /tmp/ficdown.zip /tmp/ficdown/*
7z a -tzip /tmp/ficdown.zip -w /tmp/ficdown/*
rm -rf /tmp/ficdown