Skip to content

ci: Name packages from OBS version tags only - #318

Merged
zackees merged 2 commits into
masterfrom
fix/package-describe-match
Oct 12, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/package-describe-match

Conversation

@zackees

@zackees zackees commented Oct 12, 2026

Copy link
Copy Markdown
Member

#220 filtered git describe in cmake/common/versionconfig.cmake to OBS version tags, but the packaging scripts still ran plain git describe --tags --long. The repo carries obs-studio-rust-v* and obs-stream-rust-v* tags, so master's macOS disk image (run 38206018195) was named obs-studio-obs-studio-rust-v0.1.0-beta.20261011-984620103-macos-apple.

  • RED: ci/test_describe_match.py (run by ./lint's ci self-test) scans .github/scripts, .github/actions and cmake and fails on any git describe --tags without --match. It found .package.zsh (via its package-macos and package-ubuntu symlinks) and Package-Windows.ps1.
  • GREEN: both pass --match '[0-9]*.[0-9]*.[0-9]*'. On master that gives 33.0.0-beta6-642-gee4cc0a5f.

The failure in that run was an unrelated hdiutil detach flake on the macOS runner, and I re-ran it. This PR only fixes the name. Local gate: lint, rust-test and tier2-linux all passed.

zackees and others added 2 commits October 11, 2026 22:17
The repo also carries obs-studio-rust-v* and obs-stream-rust-v* tags.
#220 filtered versionconfig.cmake, but .package.zsh (macOS, Ubuntu) and
Package-Windows.ps1 still run plain git describe --tags --long, so the
macOS disk image on master was named
obs-studio-obs-studio-rust-v0.1.0-beta.20261011-984620103-macos-apple.
test_describe_match fails while any git describe --tags lacks --match.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
.package.zsh and Package-Windows.ps1 now pass --match
'[0-9]*.[0-9]*.[0-9]*' to git describe, like versionconfig.cmake (#220).
On master this yields 33.0.0-beta6-642-gee4cc0a5f instead of the
obs-studio-rust-v* tag. test_describe_match passes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Local-Gate: v1 tree=edf96f481c505bec2c37b64a14440eccd13e2876 secs=144 lanes=lint:run,rust-test:run,tier2-linux:run
Ci-Attestation: {"at":1791782432,"gate":"rust/all/fmt","host":"linux-x86_64","key":"2165baa707de4830563324b5809b8cf391b81399ddad97a4a3f08a12fe45aa32","lane":"lint","parents":["74df3a0ece5b4fdd5f4cc6096489e0a4af489ac3"],"secs":49,"stamp":"2e2df274940afd07a9da36d950a84851","tree":"edf96f481c505bec2c37b64a14440eccd13e2876","v":1,"via":"run"}
Ci-Attestation: {"at":1791782432,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"2165baa707de4830563324b5809b8cf391b81399ddad97a4a3f08a12fe45aa32","lane":"lint","parents":["74df3a0ece5b4fdd5f4cc6096489e0a4af489ac3"],"secs":49,"stamp":"f3204628c457b64b9caa3c7baaddfe20","tree":"edf96f481c505bec2c37b64a14440eccd13e2876","v":1,"via":"run"}
Ci-Attestation: {"at":1791782432,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"16b7975c060e271fc0eaf03d5679c0be449a06bee00f2274cec822d210a79a38","lane":"rust-test","parents":["74df3a0ece5b4fdd5f4cc6096489e0a4af489ac3"],"secs":42,"stamp":"19f6bbaab0e20daba0a01880d5118182","tree":"edf96f481c505bec2c37b64a14440eccd13e2876","v":1,"via":"run"}
Ci-Attestation: {"at":1791782432,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"77074a72a4282d03085a8fb61151eebb65ed0f36a54a2b0b53ba5f3d6f050b24","lane":"tier2-linux","parents":["74df3a0ece5b4fdd5f4cc6096489e0a4af489ac3"],"secs":53,"stamp":"9311577a998ce45b3ddfb6d49b096d1c","tree":"edf96f481c505bec2c37b64a14440eccd13e2876","v":1,"via":"run"}
@zackees
zackees merged commit fea29ef into master Oct 12, 2026
23 checks passed
@zackees
zackees deleted the fix/package-describe-match branch October 26, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant