Quick update to do mkdir saved before main also include the saved folder in the release zips since i apparently forgot to do that

This commit is contained in:
LukeZGD 2024-08-31 09:42:07 +08:00
parent d2bd5f5778
commit 3426a4d4b8
2 changed files with 6 additions and 5 deletions

View File

@ -45,7 +45,7 @@ jobs:
rm -r ./bin/linux
- name: Zip macos files
run: zip -r ${{ github.event.repository.name }}_macos_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md
run: zip -r ${{ github.event.repository.name }}_macos_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md saved/
- name: Move macos binaries
run: |
@ -54,7 +54,7 @@ jobs:
cp -R ./exclude/bin/linux/x86_64 ./bin/linux
- name: Zip linux files
run: zip -r ${{ github.event.repository.name }}_linux_x86_64_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md
run: zip -r ${{ github.event.repository.name }}_linux_x86_64_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md saved/
- name: Move linux binaries and other files
run: |
@ -62,7 +62,7 @@ jobs:
cp -R ./exclude/bin/linux/arm64 ./bin/linux
- name: Zip linux arm64 files
run: zip -r ${{ github.event.repository.name }}_linux_arm64_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md
run: zip -r ${{ github.event.repository.name }}_linux_arm64_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md saved/
- name: Move linux arm64 binaries and other files
run: |
@ -70,7 +70,7 @@ jobs:
cp -R ./exclude/bin/linux/armhf ./bin/linux
- name: Zip linux armhf files
run: zip -r ${{ github.event.repository.name }}_linux_armhf_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md
run: zip -r ${{ github.event.repository.name }}_linux_armhf_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.sh README.md saved/
- name: Move linux armhf binaries and other files
run: rm -r ./bin/linux
@ -79,7 +79,7 @@ jobs:
run: cp -R ./exclude/bin/* ./bin
- name: Zip complete files
run: zip -r ${{ github.event.repository.name }}_complete_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.cmd restore.sh README.md
run: zip -r ${{ github.event.repository.name }}_complete_v${{ env.DATE }}.${{ env.COUNT }}.zip bin/ LICENSE resources/ restore.cmd restore.sh README.md saved/
- name: Create this file to get latest git hash
run: |

View File

@ -8719,6 +8719,7 @@ fi
othertmp=$(ls "$(dirname "$0")" | grep -c tmp)
mkdir "$(dirname "$0")/tmp$$"
pushd "$(dirname "$0")/tmp$$" >/dev/null
mkdir ../saved 2>/dev/null
main