diff --git a/upload-build.sh b/upload-build.sh index 2495b8179c..9046e77316 100644 --- a/upload-build.sh +++ b/upload-build.sh @@ -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