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

Allow to condition provides based on the version #68

Open
felipecrs opened this issue Mar 7, 2024 · 0 comments
Open

Allow to condition provides based on the version #68

felipecrs opened this issue Mar 7, 2024 · 0 comments

Comments

@felipecrs
Copy link
Contributor

          just need to omit it; it would be a potential upgrade to libpkgx if desired.

Originally posted by @jhheider in pkgxdev/pantry#5468 (comment)

Just to keep this tracked. openjdk 21+ provides bin/jwebserver while older versions does not.

It would be nice something like the following were allowed:

provides:
  - bin/java
  - program: bin/jwebserver
    if: {{version.major}} >= 21
@felipecrs felipecrs changed the title Conditionally provide program depending on the version Allow to filter provides depending on the version Mar 7, 2024
@felipecrs felipecrs changed the title Allow to filter provides depending on the version Allow to condition provides based on the version Mar 7, 2024
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

No branches or pull requests

1 participant