diff --git a/.github/scripts/commit-preview.sh b/.github/scripts/commit-preview.sh index 5bdd7ed..f6163c9 100755 --- a/.github/scripts/commit-preview.sh +++ b/.github/scripts/commit-preview.sh @@ -11,7 +11,7 @@ cp -f $new_jar_build Tachidesk-latest.jar rm -rf latest_pointer/* cp $new_jar_build latest_pointer -latest=$(ls *.jar | tail -n1 | sed -n -e's/Tachidesk-\|.jar//g;s/-/./gp') +latest=$(ls *.jar | tail -n1 | sed -e's/Tachidesk-\|.jar//g') echo "{ \"latest\": \"$latest\" }" > index.json git config --global user.email "github-actions[bot]@users.noreply.github.com"