Skip to content

release: Daily beta identifies itself with its full version (#631) - #657

Merged
zackees merged 3 commits into
masterfrom
fix/631-release-identity
Oct 14, 2026
Merged

zackees merged 3 commits into
masterfrom
fix/631-release-identity

Conversation

@zackees

@zackees zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member

Fixes #631.

The daily beta now reports OBS-Studio-Rust <release version> (based on OBS ...) (e.g. 0.1.0-beta.20261013).

Mechanism: OBS_RUST_VERSION (env or -D) is read in cmake/common/versionconfig.cmake (validated) and set on release-rust.yaml's build job from needs.check.outputs.version. Local builds keep the crate version. No config dir, app ID or bundle ID changes (#632), no renames (#613).

Where it appears: log banner/About/--version, macOS CFBundleShortVersionString + CFBundleVersion + DMG volume name, Windows VERSIONINFO ProductName/FileDescription/FileVersion/ProductVersion (FILEVERSION numeric stays), AppImage metainfo release version and URL.

Checks: Linux --version (release-rust.yaml), macOS DMG mount: plist keys, volume name, --version on arm64; Windows ci/windows_zip_check.py --run --expect-version (via package-obs); AppImage test-appimage.sh EXPECT_RUST_VERSION. Tests: ci/test_release_identity.py, ci/test_windows_zip_check.py.

RED: 16aafe0 (9 failures, 2 errors on master). GREEN: next commit.

Not run here: real macOS/Windows/AppImage builds (CI).

Embed OBS_RUST_VERSION (the release string, e.g. 0.1.0-beta.20261013) in the
log banner and About, the macOS bundle and DMG volume, the Windows
VERSIONINFO and the AppImage metainfo, and check it on every platform:
Linux and macOS in release-rust.yaml, Windows in windows_zip_check.py
--expect-version, the AppImage in test-appimage.sh.

Fixes #631

Local-Gate: v1 tree=a2545b8f42b6979a938a0755f10e7310d4ac59a9 secs=360 lanes=lint:run,rust-test:run,cross:run,tier2-linux:run
Ci-Attestation: {"at":1791933071,"gate":"rust/all/fmt","host":"linux-x86_64","key":"3bdd13efd45830854ed77b90f5fa6d35090aeb2cca41161eeb7531d9c6fa953b","lane":"lint","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":23,"stamp":"dfa2298371f6ca74442bb666d5d7cdb8","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"3bdd13efd45830854ed77b90f5fa6d35090aeb2cca41161eeb7531d9c6fa953b","lane":"lint","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":23,"stamp":"4c717d7b45abb716354768ddfccbec9b","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"99018dfeec50cbb30424abf7e280e925dfdbf667637d9523b7d524284df03785","lane":"rust-test","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":105,"stamp":"6a86c9b347ba0ddefcb891d584758d4c","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"6d2d07f8f1126eecca75544a573fa183","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"81c4e448f8b8935e9d90ae8e0081ad12","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"94ef25e9025ef26c8534477398b21362","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"6083cd78e031ed250d77c8ff7fdadfbf","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"c0c5a4efced5fc32bcb986a97dce2312","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"46e3e2ee55f3bc98ca4e8c6e44c9eafba5fc55fe0bfa6d7d74bf7b772a189cf1","lane":"cross","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":73,"stamp":"d982bf0d1e03b8508d22939f7a400172","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
Ci-Attestation: {"at":1791933071,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"95fcb4d339b32825447538d0c459dfe594274f6488ad2c32c6f07f70d8facfc2","lane":"tier2-linux","parents":["16aafe04a09c75798e6deb864070d72c5b392b0c"],"secs":159,"stamp":"f5ddc7d147b7d3781bf74c735e9cc282","tree":"a2545b8f42b6979a938a0755f10e7310d4ac59a9","v":1,"via":"run"}
@zackees zackees added the ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak label Oct 13, 2026
@zackees

zackees commented Oct 13, 2026

Copy link
Copy Markdown
Member Author

Validation audit for #635/#630: the macOS change assigns the full 0.1.0-beta.YYYYMMDD string to both MARKETING_VERSION and CURRENT_PROJECT_VERSION, and the package check requires that suffix in both standard plist version keys. Apple requires CFBundleShortVersionString to contain three period-separated integers and CFBundleVersion one to three period-separated integers. This metadata needs correction before merge so the notarization work in #630 can produce a conforming bundle.

Please keep numeric values in the standard version keys and preserve/check the full Rust release string in a separate plist key (and the app's log/About/--version/DMG identity). Add a regression that rejects a prerelease suffix in the standard version keys while requiring the exact full release string in the dedicated key.

Sources: CFBundleShortVersionString, CFBundleVersion.

@zackees
zackees merged commit 08483ba into master Oct 14, 2026
30 checks passed
@zackees
zackees deleted the fix/631-release-identity 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

ci-full Run every CI job on this PR, including the release-gating OBS app builds and Flatpak

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

release: The app doesn't identify itself as the Rust beta

1 participant