Anchor smoke checks to the selected checkout

This commit is contained in:
2026-11-04 01:25:50 +00:00
parent b5c6638538
commit 9797f43dc4
2 changed files with 4 additions and 2 deletions

View File

@@ -209,6 +209,8 @@ version-specific destination, and reports the original publication status.
### Anchor smoke-check module paths to the intended checkout
**Completed.** Both nested paths use `./`; verified the full smoke recipe with a conflicting `CDPATH`.
**Evidence:** The [multi-module smoke recipe](../../examples/multi-module/README.md)
replaced `go -C integrations/...` with subshells that run
`cd integrations/...` before host discovery. A shell with `CDPATH` set can

View File

@@ -134,14 +134,14 @@ fixture and run the source-selected tool without publishing:
go tool releasekit check --config releasekit-root.json v1.2.3
)
(
cd integrations/ckconfig || exit $?
cd ./integrations/ckconfig || exit $?
releasekit_host_os=$(go env GOHOSTOS) || exit $?
releasekit_host_arch=$(go env GOHOSTARCH) || exit $?
export GOOS="$releasekit_host_os" GOARCH="$releasekit_host_arch"
go tool releasekit check --config releasekit-ckconfig.json v1.2.3
)
(
cd integrations/core/v2 || exit $?
cd ./integrations/core/v2 || exit $?
releasekit_host_os=$(go env GOHOSTOS) || exit $?
releasekit_host_arch=$(go env GOHOSTARCH) || exit $?
export GOOS="$releasekit_host_os" GOARCH="$releasekit_host_arch"