diff --git a/.github/scripts/commit-repo.sh b/.github/scripts/commit-repo.sh index 754611e..0a9e4e7 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 +latest=$(ls *.jar | tail -n1 | cut -d"-" -f3 | cut -d"." -f1) +echo "{ \"latest\": $latest }" > index.json + git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]" git status