Skip to content

ci: run DMG workflow steps with pipefail - #27

Merged
missingbulb merged 1 commit into
mainfrom
claude/dmg-download-issue-rzgx71
Jul 22, 2026
Merged

ci: run DMG workflow steps with pipefail#27
missingbulb merged 1 commit into
mainfrom
claude/dmg-download-issue-rzgx71

Conversation

@missingbulb

Copy link
Copy Markdown
Owner

What & why

Follow-up to #4. Both DMG workflows have piped run: steps (the signing-cert base64 --decode, and security list-keychains … | sed … in the cert-import step). GitHub's implicit shell is bash -e without pipefail, so a failure on the left side of a pipe would be masked and the step would still go green.

Setting defaults.run.shell: bash makes GitHub run each step with bash -o pipefail, so those failures surface.

Changes

  • .github/workflows/build-macos-dmg.yml — add shell: bash to defaults.run.
  • .github/workflows/release-macos-dmg.yml — same.

Refs #26

🤖 Generated with Claude Code


Generated by Claude Code

Set defaults.run.shell: bash in both DMG workflows so GitHub runs each
step with 'bash -o pipefail'. Without it the implicit shell is 'bash -e'
(no pipefail), so a failure in the left side of a pipe — e.g. the
base64-decode of the signing cert or the keychain-list feeding sed in the
cert-import step — would be masked and the step would still show green.

Refs #26

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WVpWDYmMWjhHz48vdotPpP
@missingbulb
missingbulb merged commit 24e341d into main Jul 22, 2026
1 check passed
@missingbulb
missingbulb deleted the claude/dmg-download-issue-rzgx71 branch July 22, 2026 14:12
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