mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-10 04:40:10 +07:00
Fixed build uploader
This commit is contained in:
parent
ce9946b24a
commit
e4d0067f31
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user