now we can deploy repo too

This commit is contained in:
Aria Moradi
2021-04-10 09:54:03 +04:30
parent 9958e0eb34
commit 3fcc269df3
4 changed files with 85 additions and 27 deletions
+2 -7
View File
@@ -1,17 +1,12 @@
#!/bin/bash
git lfs install
#git lfs track "*.zip"
cp master/server/build/Tachidesk-*.jar repo
cd repo
cp ../master/repo/* .
new_jar_build=$(ls *.jar| tail -1)
echo "last jar build file name: $new_jar_build"
new_win32_build=$(ls *.zip| tail -1)
echo "last win32 build file name: $new_win32_build"
cp -f $new_jar_build Tachidesk-latest.jar
cp -f $new_win32_build Tachidesk-latest-win32.zip
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"