This commit is contained in:
2026-06-16 18:39:07 +03:00
parent b926ed51fe
commit b31fd4966c

12
prep
View File

@@ -29,7 +29,7 @@ def main():
print() print()
print("╔══════════════════════════════════════════╗") print("╔══════════════════════════════════════════╗")
print("║ Prep: mods → config → rsync → commit ║") print("║ Prep: mods → config → rsync → commit ║")
print("╚══════════════════════════════════════════╝") print("╚══════════════════════════════════════════╝")
print() print()
@@ -47,18 +47,12 @@ def main():
subprocess.run([ subprocess.run([
"rsync", "-avz", "rsync", "-avz",
"-e", RSYNC_SSH, "-e", RSYNC_SSH,
LOCALMODS_DIR, CONFIG_PATH, LOCALMODS_DIR + "/", CONFIG_PATH,
"root@barotrauma:/opt/barotrauma/" "baro@barotrauma:/opt/barotrauma/"
], check=True) ], check=True)
log_ok("Synced to server") log_ok("Synced to server")
print() print()
log_info("Step 4/4: Committing...")
subprocess.run(["git", "add", "-A"], cwd=BASE, check=True)
subprocess.run(["git", "commit", "-m", msg], cwd=BASE, check=True)
log_ok(f"Committed: {msg}")
print()
log_ok("Done. Push manually when ready.") log_ok("Done. Push manually when ready.")