From 26a7e2f1cd3d82554670bd241c911170cc6fadfc Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Thu, 21 Jan 2021 16:27:27 +0330 Subject: [PATCH] fix again? --- .github/scripts/commit-repo.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/scripts/commit-repo.sh b/.github/scripts/commit-repo.sh index 9498080..f50e5c5 100755 --- a/.github/scripts/commit-repo.sh +++ b/.github/scripts/commit-repo.sh @@ -6,8 +6,10 @@ new_build=$(ls | tail -1) diff $new_build server-latest.jar if [ "$?" -eq 1 ]; then + echo "copy" cp -f $new_build server-latest.jar else + echo "rm" rm $new_build fi @@ -17,7 +19,7 @@ git config --global user.name "github-actions[bot]" git status if [ -n "$(git status --porcelain)" ]; then git add . - git commit -m "Update extensions repo" + git commit -m "Update repo" git push else echo "No changes to commit"