Skip to content

fix(ci): build before release to sync floating tag assets#8

Merged
urmzd merged 1 commit intomainfrom
fix/build-before-release
Mar 30, 2026
Merged

fix(ci): build before release to sync floating tag assets#8
urmzd merged 1 commit intomainfrom
fix/build-before-release

Conversation

@urmzd
Copy link
Copy Markdown
Owner

@urmzd urmzd commented Mar 30, 2026

Summary

  • Moves the cross-compilation build matrix before the release job (instead of after)
  • Binaries are collected via upload-artifact/download-artifact and passed to sr release --artifacts
  • This ensures sync_floating_release has actual assets to copy to the floating tag release (e.g. v2)
  • Follows the same build→release pattern already used by embed-src

Context

The floating tag release (v2) was always empty because sync_floating_release ran during the release job, before the build matrix had uploaded any binaries. Consumers of urmzd/sr@v2 got 404 errors downloading the sr binary.

Test plan

  • CI passes on this branch
  • After merge, trigger a release and verify v2 floating tag release has binary assets
  • Verify downstream repos (teasr, embed-src, github-insights) can use urmzd/sr@v2

Move the build matrix job before the release job so that
cross-compiled binaries are available when sr's sync_floating_release
copies assets to the floating tag release. Previously, build ran after
release, so the floating tag release was always empty.

Follows the same build→release pattern already used by embed-src.
@urmzd urmzd merged commit 1bd98be into main Mar 30, 2026
4 checks passed
@urmzd urmzd deleted the fix/build-before-release branch March 30, 2026 04:19
urmzd added a commit that referenced this pull request Mar 30, 2026
fix(ci): build before release to sync floating tag assets
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