Skip to content

Commit c627c76

Browse files
committed
see if there was a regression in v1.0.1
1 parent 2da1aba commit c627c76

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

outputs/basics.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ project="$(dirname "$0")"
1010
export SPACK_COLOR=never
1111

1212
# basic installation
13-
example basics/clone "git clone --depth=2 --branch=$tutorial_branch https://github.com/spack/spack.git ~/spack"
13+
example basics/clone "git clone --depth=100 --branch=$tutorial_branch https://github.com/spack/spack.git ~/spack"
1414
example basics/clone "cd ~/spack"
1515

1616
cd ~/spack || exit
17+
git checkout -d "$tutorial_version" # force v1.0.0 because a potential regression in v1.0.1
1718
export SPACK_ROOT=~/spack
1819

1920
. share/spack/setup-env.sh

outputs/defs.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ raw_outputs="${PROJECT}/raw"
1515

1616
# used by scripts
1717
tutorial_branch=releases/v1.0
18+
tutorial_version=v1.0.0
1819
packages_release=v2025.07.0
1920

2021
print_status() {

outputs/init_spack.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ if [ ! -d ~/spack ]; then
55
fi
66

77
cd ~/spack || exit
8+
git checkout -d "$tutorial_version"
89
. share/spack/setup-env.sh
910
# spack tutorial -y
1011
spack bootstrap now

0 commit comments

Comments
 (0)