Fixed build uploader

This commit is contained in:
Epowerj 2017-12-21 13:55:02 -05:00
parent ce9946b24a
commit e4d0067f31

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash
cd $HOME
# cd $HOME
git config --global user.email $GHEMAIL
git config --global user.name $GHUSERNAME
@ -9,7 +9,7 @@ git clone https://github.com/Anuken/Mindustry.wiki.git
cd Mindustry.wiki
DESKFILE=$TRAVIS_COMMIT"-desktop-bleeding-edge.jar"
cp desktop/build/libs/desktop-release.jar $DESKFILE
cp ../desktop/build/libs/desktop-release.jar $DESKFILE
FILE1=$TRAVIS_BUILD_NUMBER-Bleeding-Edge-Build-$TRAVIS_COMMIT.md
@ -22,4 +22,4 @@ echo "This is the latest build of #"$TRAVIS_COMMIT" \nDesktop download: ["$DESKF
git add $FILE1
git add desktop-bleeding-edge.jar
git commit -m "Added a new bleeding edge build"
git push https://$GHUSERNAME:$GHPASSWORD@github.com:Anuken/Mindustry.git --all
git push https://$GHUSERNAME:$GHPASSWORD@github.com/Anuken/Mindustry.wiki.git --all