Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip the change of the pkgrel variable in PKGBUILD (only relevant for… #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

munix9
Copy link

@munix9 munix9 commented Nov 27, 2024

… Arch builds)

Prevents the release determined by the build system from being overwritten with pkgrel=0.

Example:

  <service mode="buildtime" name="set_version">
    <param name="skip-change-pkgrel">yes</param>
  </service>

See also openSUSE/obs-build#1043

… Arch builds)

Prevents the release determined by the build system from being overwritten with 'pkgrel=0'.

Example:

  <service mode="buildtime" name="set_version">
    <param name="skip-change-pkgrel">yes</param>
  </service>
@munix9
Copy link
Author

munix9 commented Nov 27, 2024

I had also considered simply using a regex to check whether ^pkgrel=@RELEASE[1,2]?@$ exists and then skipping the change accordingly.

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