Skip to content

Fix nnf_cmd exit code and update submodule pointers - #323

Merged
ajfloeder merged 1 commit into
masterfrom
fix/setup-release-env-pipestatus-and-submodules
Apr 9, 2026
Merged

Fix nnf_cmd exit code and update submodule pointers#323
ajfloeder merged 1 commit into
masterfrom
fix/setup-release-env-pipestatus-and-submodules

Conversation

@ajfloeder

Copy link
Copy Markdown
Contributor

Preserve the exit code of release-all.sh through the pipe in nnf_cmd by capturing pipestatus[1] (zsh) before returning. Previously, all invocations exited 0 because the pipe's exit code was that of cat, not release-all.sh.

Also adds a note to RELEASE-PLAN.md that source setup-release-env.sh must never be piped — doing so runs it in a subshell and loses all exported variables and function definitions.

Also advances submodule pointers to their current master HEADs:

Also restores the ONE-command-per-turn rule to release.agent.md and removes trailing blank lines from RELEASE-PLAN.md.

Preserve the exit code of release-all.sh through the pipe in nnf_cmd
by returning PIPESTATUS[0]. Previously, all invocations exited 0 because
the pipe's exit code was that of 'cat', not release-all.sh.

Also advance submodule pointers to their current master HEADs:
- lustre-fs-operator: 7ebec7d -> c59379b (PR #125 update-vendor)
- nnf-dm:             42a3d3a4 -> c959e3b5 (PR #360 update-vendor + others)
- nnf-integration-test: b967cc0 -> 3e52df1 (PR #160 update-vendor + #159)
- nnf-sos:            8749851d -> bcb00b92 (PR #604 update-vendor + others)

Also restore the ONE-command-per-turn rule to release.agent.md and
remove trailing blank lines from RELEASE-PLAN.md.

Signed-off-by: Anthony Floeder <anthony.floeder@hpe.com>
@ajfloeder
ajfloeder merged commit c98bca1 into master Apr 9, 2026
1 check passed
@ajfloeder
ajfloeder deleted the fix/setup-release-env-pipestatus-and-submodules branch April 9, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants