give the correct path

This commit is contained in:
Aria Moradi 2021-05-17 11:40:38 +04:30
parent cec7ddc486
commit 42ae32de33
2 changed files with 1 additions and 3 deletions

View File

@ -10,7 +10,7 @@ cp -f $new_jar_build Tachidesk-latest.jar
rm -rf latest_pointer/* rm -rf latest_pointer/*
cp $new_jar_build latest_pointer cp $new_jar_build latest_pointer
cp master/server/build/Tachidesk-*.zip latest_pointer cp ../master/server/build/Tachidesk-*.zip latest_pointer
latest=$(ls *.jar | tail -n1 | sed -e's/Tachidesk-\|.jar//g') latest=$(ls *.jar | tail -n1 | sed -e's/Tachidesk-\|.jar//g')
echo "{ \"latest\": \"$latest\" }" > index.json echo "{ \"latest\": \"$latest\" }" > index.json

View File

@ -39,5 +39,3 @@ zip_name="$release_name-win64.zip"
zip -9 -r $zip_name $release_name zip -9 -r $zip_name $release_name
cp $zip_name ../server/build/ cp $zip_name ../server/build/