Skip to content

fix(ci): fail the release when a publish step fails - #2

Merged
rockbenben merged 1 commit into
mainfrom
fix/ci-check-publish-exit-code
Oct 20, 2026
Merged

rockbenben merged 1 commit into
mainfrom
fix/ci-check-publish-exit-code

Conversation

@rockbenben

Copy link
Copy Markdown
Owner

The two publish steps were not checked for a non-zero exit code. A native command that fails does not abort a pwsh script, so a failed first publish followed by a successful second one ended the step green, and the release went out without the self-contained build.

The updater only accepts the self-contained build, so that release is one no installed app could ever update from, and nothing in the pipeline says so.

The check is the same one 033-windowshuttle already has.

The two publish steps were not checked for a non-zero exit code. A native
command that fails does not abort a pwsh script, so a failed first publish
followed by a successful second one ended the step green, and the release went
out without the self-contained build.

The updater only accepts the self-contained build, so that release is one no
installed app could ever update from, and nothing in the pipeline says so. The
missing asset is something a person has to notice by hand.

The check is the same one 033-windowshuttle already has.
@rockbenben
rockbenben merged commit 39230f0 into main Oct 20, 2026
2 checks passed
@rockbenben
rockbenben deleted the fix/ci-check-publish-exit-code branch October 20, 2026 09:48
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.

1 participant