1
0
mirror of https://github.com/XLabsProject/iw4x-rawfiles.git synced 2023-08-02 15:02:11 +02:00
iw4x-rawfiles/scripts/release.sh
2022-07-21 21:59:12 +02:00

36 lines
469 B
Bash

#!/bin/bash
sudo apt update >> /dev/null && sudo apt install zip -y >> /dev/null # Ensure zip is up to date.
cd iw4x/
# iw4x_00
cd iw4x_00/
zip -r iw4x_00.iwd *
mv iw4x_00.iwd ../
cd ..
rm -rf iw4x_00/
# iw4x_01
cd iw4x_01/
zip -r iw4x_01.iwd *
mv iw4x_01.iwd ../
cd ..
rm -rf iw4x_01/
# iw4x_02
cd iw4x_02/
zip -r iw4x_02.iwd *
mv iw4x_02.iwd ../
cd ..
rm -rf iw4x_02/
# Cleanup
cd ..
rm LICENSE
rm README.md
rm -rf .github
rm -rf scripts
zip -r release.zip *