Skip to content

fix(ci): resolve release tag from git, drop artifact handoff - #87

Merged
alexhraber merged 2 commits into
mainfrom
fix/local-first-release-acpt
Jul 11, 2026
Merged

fix(ci): resolve release tag from git, drop artifact handoff#87
alexhraber merged 2 commits into
mainfrom
fix/local-first-release-acpt

Conversation

@alexhraber

@alexhraber alexhraber commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Resolve the release tag from git instead of fragile artifact handoff:

  1. Use BUILDKITE_TAG if set (tag-push triggered builds)
  2. Else read latest v* tag from local git (same-agent after tag step)
  3. Fallback: fetch tags from origin and retry

Binary and sha256 are downloaded from release_build (only if not already present locally). Everything matching builddeck* is uploaded to the release by release.sh.

No more builddeck.tag artifact handoff — eliminates the empty-VERSION bug and the duplicate artifact.

@alexhraber alexhraber changed the title fix(ci): debug VERSION, remove --step filters, drop duplicate tag upload fix(ci): resolve release tag from git, drop artifact handoff Jul 11, 2026
- Add echo DEBUG: VERSION='${VERSION}' to see actual value
- Download builddeck.tag without --step filter (searches all steps)
- Keep --step release_build as fallback (also no 2>/dev/null)
- Remove release_build's re-upload of builddeck.tag (caused duplicate artifact)
- Only tag step publishes builddeck.tag now
Ditch the builddeck.tag artifact handoff. The release step now:
1. Uses BUILDKITE_TAG if set (tag-push triggered builds)
2. Fetches tags and reads latest v* tag from local git
3. Falls back to querying remote tags via git ls-remote

No more builddeck.tag — only tag step uploads it (for release_build's
version detection). Release step doesn't need it.
@alexhraber
alexhraber force-pushed the fix/local-first-release-acpt branch from 19ea282 to a156a1e Compare July 11, 2026 07:15
@alexhraber
alexhraber merged commit 670cfb9 into main Jul 11, 2026
2 checks passed
@alexhraber
alexhraber deleted the fix/local-first-release-acpt branch July 11, 2026 07:16
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