Separated wiki updater into two files

This commit is contained in:
Epowerj
2018-02-02 16:34:05 -05:00
parent 2b6894e046
commit 7b6d84a873
3 changed files with 16 additions and 12 deletions

12
cleanup_builds.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
OLD_TRAVIS_BUILD_NUMBER=`expr $TRAVIS_BUILD_NUMBER - 7`
OLD_DESKFILE=$OLD_TRAVIS_BUILD_BUMBER"-desktop-bleeding-edge.jar"
OLD_FILE1="Bleeding-Edge-Build-"$OLD_TRAVIS_BUILD_NUMBER".md"
if [ -e $OLD_FILE1 ]; then
rm -f $OLD_FILE1
rm -f $OLD_DESKFILE
git add $OLD_FILE1
git add $OLD_DESKFILE
fi