mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
fix again?
This commit is contained in:
4
.github/scripts/commit-repo.sh
vendored
4
.github/scripts/commit-repo.sh
vendored
@@ -6,8 +6,10 @@ new_build=$(ls | tail -1)
|
|||||||
|
|
||||||
diff $new_build server-latest.jar
|
diff $new_build server-latest.jar
|
||||||
if [ "$?" -eq 1 ]; then
|
if [ "$?" -eq 1 ]; then
|
||||||
|
echo "copy"
|
||||||
cp -f $new_build server-latest.jar
|
cp -f $new_build server-latest.jar
|
||||||
else
|
else
|
||||||
|
echo "rm"
|
||||||
rm $new_build
|
rm $new_build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -17,7 +19,7 @@ git config --global user.name "github-actions[bot]"
|
|||||||
git status
|
git status
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update extensions repo"
|
git commit -m "Update repo"
|
||||||
git push
|
git push
|
||||||
else
|
else
|
||||||
echo "No changes to commit"
|
echo "No changes to commit"
|
||||||
|
|||||||
Reference in New Issue
Block a user