fix sed output

This commit is contained in:
Aria Moradi 2021-05-07 14:41:19 +04:30
parent 7ba476bd79
commit e3d3ec6895

View File

@ -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"