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

[maven-metadata] Allow filtering for release versions #6995

Open
cromefire opened this issue Sep 7, 2021 · 4 comments
Open

[maven-metadata] Allow filtering for release versions #6995

cromefire opened this issue Sep 7, 2021 · 4 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@cromefire
Copy link

📋 Description

It would be cool if the maven-metadata badge could only show the latest release version and not the latest snapshot.
This can be achieved by reading the release field or probably also by filtering for versions with no -SNAPSHOT suffix or even a customizable suffix (similar to the current positive matching).

@PyvesB PyvesB added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label Sep 11, 2021
@PyvesB
Copy link
Member

PyvesB commented Sep 11, 2021

Hello @cromefire ! 👋🏻

Does #6594 (comment) provide a satisfactory way of achieving what you want?

@cromefire
Copy link
Author

Yeah while I think it'd still be a nice feature to have this in the maven badge, the dynamic XML should work, will definitely try it.

@PyvesB
Copy link
Member

PyvesB commented Sep 12, 2021

If this becomes a regular query, anyone should feel free to resurrect #6594 and address @calebcartwright's review comments. 😉

@cromefire
Copy link
Author

I'll just leave this open than as it kinda sounds like it's in a "PR would maybe be accepted" state if you feel like it should be closed, feel free to close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants