summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2022-05-01 23:13:50 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2022-05-01 23:13:50 -0700
commit9a028e3b15ed7bbb373af6cf157883e7ee42dcb6 (patch)
treeeebb76c56a4a6ac2bdae744d6e9c42a2b5f8c2b8
parentf2c1b40e586529207615df6d4b41391ff1e6b02b (diff)
downloadspack-9a028e3b15ed7bbb373af6cf157883e7ee42dcb6.tar.gz
spack-9a028e3b15ed7bbb373af6cf157883e7ee42dcb6.tar.bz2
spack-9a028e3b15ed7bbb373af6cf157883e7ee42dcb6.tar.xz
spack-9a028e3b15ed7bbb373af6cf157883e7ee42dcb6.zip
bugfix: don't calculate `spack tutorial` version from version info
A recent switch to the way we do `develop` versioning broke this. We should hard-code the latest tutorial version.
-rw-r--r--lib/spack/spack/cmd/tutorial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/tutorial.py b/lib/spack/spack/cmd/tutorial.py
index 9cc4b493f3..d118e624d1 100644
--- a/lib/spack/spack/cmd/tutorial.py
+++ b/lib/spack/spack/cmd/tutorial.py
@@ -24,7 +24,7 @@ level = "long"
# tutorial configuration parameters
-tutorial_branch = "releases/v%d.%d" % spack.spack_version_info[:2]
+tutorial_branch = "releases/v0.17"
tutorial_mirror = "file:///mirror"
tutorial_key = os.path.join(spack.paths.share_path, "keys", "tutorial.pub")