From f9f7bd5960f28ce4d7fdcb254e8c8dc7a258679e Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 27 Aug 2017 11:45:18 +0200 Subject: [PATCH] Update worker.sh --- code/worker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/worker.sh b/code/worker.sh index 4a66c8b5..99af7c1b 100644 --- a/code/worker.sh +++ b/code/worker.sh @@ -358,7 +358,7 @@ for INPUTBASENAME in database/*; do echo "" >> apps/$INPUTBASENAME.md echo "appdata:" >> apps/$INPUTBASENAME.md cat database/$INPUTBASENAME/appdata.yaml | sed 's/^/ /' | tail -n +2 >> apps/$INPUTBASENAME.md # tail -n +2 = skip first like ("---") - database/$INPUTBASENAME/appdata.yaml + rm database/$INPUTBASENAME/appdata.yaml fi done @@ -376,7 +376,7 @@ if [ "$TRAVIS_PULL_REQUEST" == "false" ] ; then git pull # To prevent from: error: failed to push some refs to 'https://[secure]@github.com/AppImage/AppImageHub.git' git config --global user.email "travis@travis-ci.org" git config --global user.name "Travis CI" - ( cd database/ ; git add . || true ) # Recursively add everything in this directory + ( cd database/ ; git add . ; git rm *.yaml || true ) # Recursively add everything in this directory ( cd apps/ ; git add . || true ) # Recursively add everything in this directory git commit -F- < /dev/null 2>&1 git push --set-upstream deploy -fi +fi.