Separated wiki updater into two files
This commit is contained in:
12
cleanup_builds.sh
Normal file
12
cleanup_builds.sh
Normal 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
|
||||
Reference in New Issue
Block a user