From 39082a9b87c8a3cfebe6bb39bf34ed16fcde9a1b Mon Sep 17 00:00:00 2001 From: Rendo Date: Mon, 14 Jul 2025 21:50:04 +0500 Subject: [PATCH] deploy script --- export/deploy.ps1 | 14 ++++++++++++++ project.godot | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 export/deploy.ps1 diff --git a/export/deploy.ps1 b/export/deploy.ps1 new file mode 100644 index 0000000..aacc66b --- /dev/null +++ b/export/deploy.ps1 @@ -0,0 +1,14 @@ +# Step 1: Read the contents of "token.txt" into variable $tkn +$tkn = Get-Content -Path "token.txt" -Raw + +# Step 2: Prompt the user for version input +$ver = Read-Host "Enter version" + +# Step 3: Compress "build_folder" into a zip file named "lon$ver.zip" +$zipName = "lon$ver.zip" +Compress-Archive -Path "build_folder" -DestinationPath $zipName -Force + +& ".\deploy_tools\butler.exe" push $zipName "lon-team/liberation-of-neighbourville:windows" --userversion $ver +# Step 4: Execute deploy_tools\gjpush with required arguments +#& ".\deploy_tools\gjpush.exe" -t $tkn -g 1005720 -p 1012636 -r $ver $zipName +Remove-Item $zipName \ No newline at end of file diff --git a/project.godot b/project.godot index d9ffcd5..1c46fc3 100644 --- a/project.godot +++ b/project.godot @@ -16,7 +16,7 @@ warnings/check_angle_interpolation_type_conflicting=false [application] config/name="Liberation of the Neighbourville" -config/version="0.2.4" +config/version="0.2.5" run/main_scene="uid://bfstrli64u23y" config/features=PackedStringArray("4.4", "C#", "Forward Plus") config/icon="res://icon.png"