File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -euo pipefail
33
4- KB_VERSION=" 0.1.0 "
4+ KB_VERSION=" 0.1.1 "
55
66# --- Detect KB_ROOT (where lib/ and templates/ live) ---
77resolve_script_path () {
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ set -euo pipefail
99
1010SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
1111KB_BIN=" ${SCRIPT_DIR} /../bin/kb"
12+ KB_VERSION=" $( sed -n ' s/^KB_VERSION="\([^"]*\)"$/\1/p' " $KB_BIN " ) "
1213
1314PASS_COUNT=0
1415FAIL_COUNT=0
@@ -158,7 +159,7 @@ test_init_manifest_has_versioned_shape() {
158159
159160test_init_works_through_symlinked_install () {
160161 local tmpdir=" $1 "
161- local cellar_root=" $tmpdir /Cellar/kb/0.1.0 "
162+ local cellar_root=" $tmpdir /Cellar/kb/${KB_VERSION} "
162163 local front_bin=" $tmpdir /front-bin"
163164
164165 mkdir -p \
You can’t perform that action at this time.
0 commit comments