Skip to content

New option to hide the [assetname] in the badge "Value" part for "GitHub release (latest by date and asset)"Β #8608

Closed

Description

@khusmeno-MS

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: GitHub release (latest by date and asset)

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: image

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.

Activity

  1. 4Source commented on Mar 2, 2024

    @4Source

    I also would love to have this option

  2. ReenigneArcher commented on Oct 8, 2025

    @ReenigneArcher
    Contributor

    +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.

  3. ReenigneArcher commented on Oct 8, 2025

    @ReenigneArcher
    Contributor

    PR: #11415

  4. PyvesB commented on Oct 9, 2025

    @PyvesB
    Member

    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?

  5. ReenigneArcher commented on Oct 9, 2025

    @ReenigneArcher
    Contributor

    @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.

    image-2.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions