From 7699209bc35e8bf79c2db7770dae5ecc3b20a024 Mon Sep 17 00:00:00 2001 From: Simon Li Date: Sun, 27 Nov 2022 00:04:00 +0000 Subject: [PATCH] Switch default installed version to `latest` This will correspond to the most recent release tag (excludes pre-releases) --- bootstrap/bootstrap.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index 943fcb9..ba2d4ab 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -335,7 +335,14 @@ def main(): parser = ArgumentParser() parser.add_argument("--show-progress-page", action="store_true") parser.add_argument( - "--version", default="main", help="TLJH version or Git reference" + "--version", + default="latest", + help=( + "TLJH version or Git reference. " + "Default 'latest' is the most recent release. " + "Partial versions can be specified, for example '1', '1.0' or '1.0.0'. " + "You can also pass a branch name such as 'main' or a commit hash." + ), ) args, tljh_installer_flags = parser.parse_known_args()