📋 Description
We have an internal Sonatype Nexus repository. We have a specific suffix .preview identifying versions which are not final. We have no specific suffix for final versions:
1.preview is not a final version
1 is a final version
We want Sonatype Nexus version badges to show up only the latest final version. Sonatype Nexus APIs do not allow to pass a version regex to ask for "all versions not ending with .preview".
Could we add a filter attribute to sonatype-nexus version badges that would work the same way as the one supported by maven-central-version? From https://shields.cosium.dev/badges/maven-central-version :
The filter param can be used to apply a filter to the project's versions before selecting the latest from the list. Two constructs are available: * is a wildcard matching zero or more characters, and if the pattern starts with a !, the whole pattern is negated.
Example: *beta
This filter would be applied to the list of versions returned by the Sonatype Nexus API.
📋 Description
We have an internal Sonatype Nexus repository. We have a specific suffix
.previewidentifying versions which are not final. We have no specific suffix for final versions:1.previewis not a final version1is a final versionWe want Sonatype Nexus version badges to show up only the latest final version. Sonatype Nexus APIs do not allow to pass a version regex to ask for "all versions not ending with .preview".
Could we add a
filterattribute tosonatype-nexusversion badges that would work the same way as the one supported bymaven-central-version? From https://shields.cosium.dev/badges/maven-central-version :This filter would be applied to the list of versions returned by the Sonatype Nexus API.