Fixed build uploader
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cd $HOME
|
# cd $HOME
|
||||||
git config --global user.email $GHEMAIL
|
git config --global user.email $GHEMAIL
|
||||||
git config --global user.name $GHUSERNAME
|
git config --global user.name $GHUSERNAME
|
||||||
|
|
||||||
@@ -9,7 +9,7 @@ git clone https://github.com/Anuken/Mindustry.wiki.git
|
|||||||
cd Mindustry.wiki
|
cd Mindustry.wiki
|
||||||
|
|
||||||
DESKFILE=$TRAVIS_COMMIT"-desktop-bleeding-edge.jar"
|
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
|
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 $FILE1
|
||||||
git add desktop-bleeding-edge.jar
|
git add desktop-bleeding-edge.jar
|
||||||
git commit -m "Added a new bleeding edge build"
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user