Skip to content

Conversation

@munix9
Copy link

@munix9 munix9 commented Nov 27, 2024

The PKGBUILD file must contain one of the following placeholders:
pkgrel=@RELEASE@
pkgrel=@RELEASE1@
pkgrel=@RELEASE2@

Assuming the $RELEASE variable supplied by the build system contains the value 123.456 (default <CI_CNT>.<B_CNT>), the corresponding placeholder is replaced as follows:
pkgrel=123.456
pkgrel=123
pkgrel=456

@RELEASE1@ and @RELEASE2@ have been implemented in case someone wants to use a stricter variant with only one number.
Then you have the choice between <CI_CNT> or <B_CNT>.

For the use of obs-service-set_version an adjustment is necessary there.
I will link the corresponding pull-request here later.

See also openSUSE/obs-service-set_version#98

The PKGBUILD file must contain one of the following placeholders:
pkgrel=@Release@
pkgrel=@release1@
pkgrel=@release2@

Assuming the $RELEASE variable supplied by the build system contains the value "123.456"
(default <CI_CNT>.<B_CNT>), the corresponding placeholder is replaced as follows:
pkgrel=123.456
pkgrel=123
pkgrel=456

@release1@ and @release2@ have been implemented in case someone wants
to use a stricter variant with only one number.
Then you have the choice between <CI_CNT> or <B_CNT>

For the use of obs-service-set_version an adjustment is necessary there.
I will link the corresponding pull-request here later.
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