Skip to content

fix(ci): sanitize RPM version hyphens in release-linux.yml#143

Merged
Jesssullivan merged 1 commit intomainfrom
sid/fix-rpm-version-hyphen
Apr 3, 2026
Merged

fix(ci): sanitize RPM version hyphens in release-linux.yml#143
Jesssullivan merged 1 commit intomainfrom
sid/fix-rpm-version-hyphen

Conversation

@Jesssullivan
Copy link
Copy Markdown
Owner

Summary

  • RPM Version field cannot contain hyphens (-). Tags like lab-v0.73.0-test produce version 0.73.0-test which causes rpmbuild to fail with "Illegal char '-'"
  • Fix: replace hyphens with tildes (~), the RPM convention for pre-release versions
  • 0.73.0-test becomes 0.73.0~test (sorts lower than 0.73.0, correct pre-release semantics)

Caught by the release-linux.yml dry run (run #23946076608 — DEB passed, RPM failed).

Test plan

  • Re-run release-linux.yml with tag=lab-v0.73.0-test after merge
  • Both DEB and RPM jobs should succeed

RPM Version field cannot contain hyphens. Tags like lab-v0.73.0-test
produce version 0.73.0-test which is illegal. Use tilde (RPM
pre-release convention) so 0.73.0-test becomes 0.73.0~test.
@Jesssullivan Jesssullivan merged commit 5b42922 into main Apr 3, 2026
6 of 8 checks passed
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