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