Merge pull request #13 from ChxseH/patch-1

fix release workflow
pull/3/head v0.0.2
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
1 changed files with 5 additions and 5 deletions

8
.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 {} +
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