1
0
mirror of https://github.com/XLabsProject/iw4x-rawfiles.git synced 2023-08-02 15:02:11 +02:00

Merge pull request #13 from ChxseH/patch-1

fix release workflow
This commit is contained in:
Dss0 2022-01-10 21:44:31 +01:00 committed by GitHub
commit db5c9b56ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

10
.github/release.sh vendored
View File

@ -4,14 +4,14 @@ sudo apt update >> /dev/null && sudo apt install zip -y >> /dev/null # Ensure zi
cd iw4x/
cd iw4x_00/
zip -r iw4x_00.iwd *
find . ! -name 'iw4x_00.iwd' -type d -exec rm -rf {} +
find . ! -name 'iw4x_00.iwd' -type f -exec rm -rf {} +
cd ..
mv iw4x_00.iwd ../
cd ..
rm -rf iw4x_00/
cd iw4x_01/
zip -r iw4x_01.iwd *
find . ! -name 'iw4x_01.iwd' -type d -exec rm -rf {} +
find . ! -name 'iw4x_01.iwd' -type f -exec rm -rf {} +
mv iw4x_01.iwd ../
cd ..
rm -rf iw4x_01/
cd ..
rm LICENSE
rm README.md