diff --git a/.gitignore b/.gitignore index 3b167d112c..8a2ec572a5 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,6 @@ __pycache__/ # Visual Studio Code workspace settings. .vscode/ + +# Release package files go here: +release/ diff --git a/package_release_build.py b/package_release_build.py index 2cd1c246ae..42bf7b61b1 100755 --- a/package_release_build.py +++ b/package_release_build.py @@ -50,10 +50,10 @@ def build_windows(): # Package client. print(Fore.GREEN + "Packaging Windows x86 client..." + Style.RESET_ALL) - package_zip(os.path.join("bin", "Client"), os.path.join("bin", "SS14.Client_windows_x86.zip")) + package_zip(os.path.join("bin", "Client"), os.path.join("release", "SS14.Client_windows_x86.zip")) print(Fore.GREEN + "Packaging Windows x86 server..." + Style.RESET_ALL) - package_zip(os.path.join("bin", "Server"), os.path.join("bin", "SS14.Server_windows_x86.zip")) + package_zip(os.path.join("bin", "Server"), os.path.join("release", "SS14.Server_windows_x86.zip")) def build_linux(): print(Fore.GREEN + "Building project for Linux x86..." + Style.RESET_ALL) @@ -70,10 +70,10 @@ def build_linux(): # Package client. print(Fore.GREEN + "Packaging Linux x86 client..." + Style.RESET_ALL) - package_zip(os.path.join("bin", "Client"), os.path.join("bin", "SS14.Client_linux_x86.zip")) + package_zip(os.path.join("bin", "Client"), os.path.join("release", "SS14.Client_linux_x86.zip")) print(Fore.GREEN + "Packaging Linux x86 server..." + Style.RESET_ALL) - package_zip(os.path.join("bin", "Server"), os.path.join("bin", "SS14.Server_linux_x86.zip")) + package_zip(os.path.join("bin", "Server"), os.path.join("release", "SS14.Server_linux_x86.zip")) def package_zip(directory, zipname): with zipfile.ZipFile(zipname, "w") as f: