You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
New option to hide the [assetname] in the badge "Value" part for "GitHub release (latest by date and asset)"Β #8608
Currently it's possible to override the label of the badge "GitHub release (latest by date and asset)", but the Value part always shows the asset name between brackets [ ].
Example:
I need this badge with just the "download count" in the "value" part, not with the [asset name] at all.
Desired outcome is like this:
Suggestion: A new option can be introduced => hideAssetName. Its value can be set to 1 or can be used without a value at all.
If hideAssetName is provided but with a value other than 1, then this option should be ignored, which corresponds to the current behavior, and this would maintain backward compatibility.
Without the asset name, how will users know which asset the downloads count is referring to, or wether the badge is representing total downloads for all assets?
@PyvesB personally I am using this in a table. Left column is the download link with the asset name as the text, second column will be the download count, third column will be VirusTotal results.
Anyway, my PR makes it optional and the default behavior stays the same as it is today.
This is a sample of what I'm planning to do (though with the simplified badge). There will be a row for each release asset. The table will be put into the release notes.
Activity
4Source commentedon Mar 2, 2024
I also would love to have this option
ReenigneArcher commentedon Oct 8, 2025
+1
The badge is too messy with the name of the asset.
Edit: Looking at the source code, this seems relatively easy to add. I will put up a PR later.
ReenigneArcher commentedon Oct 8, 2025
PR: #11415
PyvesB commentedon Oct 9, 2025
Without the asset name, how will users know which asset the downloads count is referring to, or wether the badge is representing total downloads for all assets?
ReenigneArcher commentedon Oct 9, 2025
@PyvesB personally I am using this in a table. Left column is the download link with the asset name as the text, second column will be the download count, third column will be VirusTotal results.
Anyway, my PR makes it optional and the default behavior stays the same as it is today.
This is a sample of what I'm planning to do (though with the simplified badge). There will be a row for each release asset. The table will be put into the release notes.