From 4d6220f894e073df97f6997e00191df7b3212cda Mon Sep 17 00:00:00 2001 From: Aria Moradi Date: Sun, 18 Apr 2021 20:45:15 +0430 Subject: [PATCH] dir pointer --- .github/scripts/commit-repo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/scripts/commit-repo.sh b/.github/scripts/commit-repo.sh index 117d813c..c577c24a 100755 --- a/.github/scripts/commit-repo.sh +++ b/.github/scripts/commit-repo.sh @@ -8,6 +8,9 @@ echo "last jar build file name: $new_jar_build" cp -f $new_jar_build Tachidesk-latest.jar +rm -rf latest_pointer/* +cp $new_jar_build latest_pointer + latest=$(ls *.jar | tail -n1 | cut -d"-" -f3 | cut -d"." -f1) echo "{ \"latest\": \"$latest\" }" > index.json