Repository navigation
Expand Release configuration documentation - #473
Akarshkushwaha wants to merge 2 commits into
Conversation
Remove the outdated RPM-only restriction and explain the release counter placeholders, default template, and build-type-specific overrides. Include the spec-prefixed example and its resulting release numbers. Fixes openSUSE#471
|
@mlschroe can you verify this please? I fail to find the code that parses the |
adrianschroeter
left a comment
There was a problem hiding this comment.
While being over it it would be nice to mention also the tag which is a shoretcut for <CI_CNT>.<B_CNT> default.
| <command>B_CNT</command> is the number of rebuilds. | ||
| The default is <command>CI_CNT.B_CNT</command>. | ||
| Defines the template used to generate release numbers. This setting also applies | ||
| to build types other than RPM, such as Debian packages and Docker containers. |
There was a problem hiding this comment.
please don't list only some them here. Just say it is supported for most build formats.
There was a problem hiding this comment.
Done. The sentence now just says the setting is supported for most build formats, without listing specific ones.
Say that Release templates are supported for most build formats instead of listing only some of them, and document the <RELEASE> tag as a shortcut for the generated release number (<CI_CNT>.<B_CNT> by default). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I added a paragraph documenting the tag as a shortcut for the generated release number (<CI_CNT>.<B_CNT> by default), with examples of where it's used: the Release: line of a spec file and container tags. Please let me know if you meant a different tag. |
The
Release:documentation still says it applies only to RPM packages and does not explain how to set different release templates for different build types.This update removes the outdated restriction, explains the
<CI_CNT>and<B_CNT>placeholders, and documents build-type overrides. It also adds an example showing how to apply a prefix to RPM release numbers while keeping the default template for other build types.Fixes #471
Validation: