There was an error while loading. Please reload this page.
1 parent 13baa91 commit 96437d7Copy full SHA for 96437d7
1 file changed
scripts/e2e-install-test.sh
@@ -36,7 +36,8 @@ KEEP_DATA=false bash scripts/uninstall.sh 2>/dev/null || true
36
# Phase 2: Install from source
37
# =============================================================================
38
info "Phase 2: Installing from source..."
39
-BRANCH=$(git rev-parse --abbrev-ref HEAD)
+# Use the ref GitHub provides; on tag pushes rev-parse returns a detached "HEAD"
40
+BRANCH="${GITHUB_REF_NAME:-$(git rev-parse --abbrev-ref HEAD)}"
41
# Build CLI from source too when CLI_BRANCH is set (e.g., for testing unreleased CLI features)
42
BRANCH="$BRANCH" CLI_BRANCH="${CLI_BRANCH:-}" bash scripts/install.sh
43
0 commit comments