Skip to content

fix: split upload release asset step for Windows compatibility#77

Merged
rhuanbarreto merged 1 commit into
mainfrom
claude/priceless-bartik
Mar 18, 2026
Merged

fix: split upload release asset step for Windows compatibility#77
rhuanbarreto merged 1 commit into
mainfrom
claude/priceless-bartik

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • The "Upload release asset" step in release-binaries.yml used bash if/then syntax without specifying shell: bash, so on Windows runners it defaulted to PowerShell and failed with Missing '(' after 'if' in if statement
  • Split the single step into platform-specific "Upload release asset (Unix)" and "Upload release asset (Windows)" steps, matching the existing pattern used by other steps in the workflow

Test plan

  • Re-run the failed workflow on a new release or via workflow_dispatch to confirm the Windows job succeeds

Fixes: https://github.com/archgate/cli/actions/runs/23262688091/job/67635158745

The "Upload release asset" step used bash if/then syntax without
specifying shell: bash, causing PowerShell parse errors on Windows.
Split into platform-specific steps matching the existing pattern.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: e6d1005
Status: ✅  Deploy successful!
Preview URL: https://d009fb03.archgate-cli.pages.dev
Branch Preview URL: https://claude-priceless-bartik.archgate-cli.pages.dev

View logs

@rhuanbarreto rhuanbarreto merged commit 54ba520 into main Mar 18, 2026
7 checks passed
@rhuanbarreto rhuanbarreto deleted the claude/priceless-bartik branch March 18, 2026 19:38
@github-actions github-actions Bot mentioned this pull request Mar 18, 2026
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