Does release or tag badges support filtering by a prefix? #6253
-
For example, our repo has two sets of releases, foo-v1.0.0 and bar-v2.0.0 and each is released independently. We would like to have two separate badges to track the latest release of each. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I assume you are referring to the GitHub latest Release and Tag Badges? If so then no not really. There is an optional asset-name param you can use on the GitHub Release Downloads badge that supports a use case in a similar vein, so I could see such a filtering option being useful on the latest version badges too (we publish two different sets of tags ourselves in this very repo). More generally, a good self-service way to check the available parameters on a badge is to use the Shields.io site. From there you can locate your target badge (either via searching using the box at the top of the badge or clicking on categories and navigating), and then click to launch the modal badge builder window which shows any custom params supported by that badge, along with a few of the default customization params that all badges support: |
Beta Was this translation helpful? Give feedback.
I assume you are referring to the GitHub latest Release and Tag Badges?
If so then no not really. There is an optional asset-name param you can use on the GitHub Release Downloads badge that supports a use case in a similar vein, so I could see such a filtering option being useful on the latest version badges too (we publish two different sets of tags ourselves in this very repo).
More generally, a good self-service way to check the available parameters on a badge is to use the Shields.io site. From there you can locate your target badge (either via searching using the box at the top of the badge or clicking on categories and navigating), and then click to launch the modal badge builder w…