Skip to content

fix(ci): release step now downloads version from release_build artifacts - #82

Merged
alexhraber merged 1 commit into
mainfrom
fix/release-from-tag-artifact
Jul 11, 2026
Merged

fix(ci): release step now downloads version from release_build artifacts#82
alexhraber merged 1 commit into
mainfrom
fix/release-from-tag-artifact

Conversation

@alexhraber

Copy link
Copy Markdown
Owner

Problem: The release step checked [[ -s builddeck.tag ]] locally, but Buildkite gives each step a fresh workspace — the file from release_build was never available. Every main build that created a tag would log "No tag was created — skipping GitHub release."

Fix:

  • release_build now re-uploads builddeck.tag under its own step key (only when a tag was actually created — skips for "dev" builds)
  • release downloads from --step release_build with the [[ -s builddeck.tag ]] content guard
  • This guarantees the artifact is immediately available (same step chain, no propagation delay from tag step)

…release handoff

The release step always got a fresh workspace, so the local
builddeck.tag file from release_build was never available. The
release step always skipped with 'No tag was created'.

Fix:
- release_build now re-uploads builddeck.tag (downloaded from tag
  step) under its own step key, so the artifact is immediately
  available to downstream steps.
- release downloads from --step release_build (the step that just
  ran) instead of checking a local file. Includes the [[ -s
  builddeck.tag ]] content guard to prevent empty-version crashes.
- Conditional upload: builddeck.tag is only uploaded from
  release_build if it exists and has content (i.e., a tag was
  created). 'dev' builds are not uploaded.
@alexhraber
alexhraber merged commit 7016028 into main Jul 11, 2026
1 of 2 checks passed
@alexhraber
alexhraber deleted the fix/release-from-tag-artifact branch July 11, 2026 06:45
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