Skip to content

A command in GH release note is not working (in Verifying GitHub Artifact Attestations) #28270

Closed

Description

@SMoraisAnsys

Just wanted to highlight that the current releases contain a section related to GH artifact attestation where the command mentioning downloaded attestation is not correct. Below is the latest release note content

Image

and if you try the command with --bundle it will fail because gh attestation verify expects an additional information. Here is what the --help says

Image

I didn't find how this section of the release note was generated but if someone let's me know how to fix it, I can propose a quick fix :)

Activity

  1. bobby404-K commented on Sep 3, 2026

    @bobby404-K

    I have looked at your issue, saw release note including this section which you gave. soo release notes are basically generated by cargo-dist, not by anything in this repo and have a look on release.yml, the announce job where the body i mean ANNOUNCEMENT_BODY comes from the cargo-dist and it has it's own output. soo this must be needed to fix upstream in the path axodotdev/cargo-dist rather than here astral-sh/ruff.

  2. ntBre commented on Sep 3, 2026

    @ntBre
    Contributor

    Thanks for the report! Yeah, it looks like the second command is missing the --repo astral-sh/ruff from the first command. As @bobby404-K points out, this appears to be generated in cargo-dist here:

    https://github.com/axodotdev/cargo-dist/blob/f9e8829f2e537b7c6648c11bf05cc0f69c1eee08/cargo-dist/src/announce.rs#L968-L980

  3. added
    upstream
    on Sep 3, 2026
  4. SMoraisAnsys commented on Sep 3, 2026

    @SMoraisAnsys
    Author

    Indeed, I'll create a PR later today. Thanks for the information :)

  5. ntBre commented on Sep 3, 2026

    @ntBre
    Contributor

    Oh, sorry! I just created axodotdev/cargo-dist#2498 while I was looking at it.

  6. SMoraisAnsys commented on Sep 3, 2026

    @SMoraisAnsys
    Author

    Alright thanks ! Closing this issue :)

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

    upstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions