deploy script

This commit is contained in:
Rendo 2025-07-14 21:50:04 +05:00
commit 39082a9b87
2 changed files with 15 additions and 1 deletions

14
export/deploy.ps1 Normal file
View file

@ -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

View file

@ -16,7 +16,7 @@ warnings/check_angle_interpolation_type_conflicting=false
[application] [application]
config/name="Liberation of the Neighbourville" config/name="Liberation of the Neighbourville"
config/version="0.2.4" config/version="0.2.5"
run/main_scene="uid://bfstrli64u23y" run/main_scene="uid://bfstrli64u23y"
config/features=PackedStringArray("4.4", "C#", "Forward Plus") config/features=PackedStringArray("4.4", "C#", "Forward Plus")
config/icon="res://icon.png" config/icon="res://icon.png"