Замена хоста
This commit is contained in:
10
prep
10
prep
@@ -10,7 +10,7 @@ PREPARE_LOCAL = os.path.join(BASE, "prepare_local")
|
||||
AUTOGEN = os.path.join(BASE, "scripts", "autogen_config.py")
|
||||
LOCALMODS_DIR = os.path.join(BASE, "LocalMods")
|
||||
|
||||
RSYNC_DEST = "root@homelabvm:/opt/barotrauma/LocalMods/"
|
||||
RSYNC_DEST = "root@barotrauma:/opt/barotrauma/LocalMods/"
|
||||
|
||||
|
||||
def log_ok(msg):
|
||||
@@ -51,13 +51,7 @@ def main():
|
||||
log_ok("config_player.xml generated")
|
||||
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.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user