Skip to content

tests: assert the metainfo release entry matches the crate version - #161

Merged
gnacho merged 1 commit into
mainfrom
test/160-metainfo-release-consistency
Aug 22, 2026
Merged

gnacho merged 1 commit into
mainfrom
test/160-metainfo-release-consistency

Conversation

@gnacho

@gnacho gnacho commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Extends the existing version consistency test in src/core/updates.rs so it also verifies the AppStream metainfo <release version=\"...\"/> entry matches CARGO_PKG_VERSION. This prevents a bump that updates Cargo.toml/version.json/PKGBUILD while the metainfo release entry stays stale.

Verified red-green: the test fails with a mismatched metainfo version and passes when they agree. Gate: 659 passed + 1 ignored, fmt and clippy clean.

Closes #160

@gnacho
gnacho merged commit 58ff5a2 into main Aug 22, 2026
1 check passed
@gnacho
gnacho deleted the test/160-metainfo-release-consistency branch August 22, 2026 18:50
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.

tests: assert the AppStream metainfo <release> matches the crate version

1 participant