mirror of
https://github.com/Suwayomi/Tachidesk.git
synced 2026-01-22 19:44:05 +01:00
remove shit, add shit to improve performance
This commit is contained in:
11
.github/scripts/commit-repo.sh
vendored
11
.github/scripts/commit-repo.sh
vendored
@@ -2,21 +2,20 @@
|
||||
|
||||
cp ../master/repo/server-r* .
|
||||
new_build=$(ls | tail -1)
|
||||
echo "$new_build"
|
||||
echo "New build file name: $new_build"
|
||||
|
||||
diff $new_build server-latest.jar > /dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "copy"
|
||||
echo "This is different to latest, replace latest."
|
||||
cp -f $new_build server-latest.jar
|
||||
else
|
||||
echo "rm"
|
||||
echo "This is the same as latest, throw it away."
|
||||
rm $new_build
|
||||
fi
|
||||
echo "shit"
|
||||
|
||||
|
||||
#git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
#git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git status
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
git add .
|
||||
|
||||
Reference in New Issue
Block a user