Greasy Fork is available in English.

Discussioni » Feedback di Greasy Fork

webhook not picking up release notes

§
Pubblicato: 06/02/2024

When using a webhook from github, the release notes that are added when publishing a release are not included in the Greasy Fork changelog/history page. Only "name" is added. For example: https://greasyfork.org/en/scripts/368141-wme-ur-mp-tracking/versions

You will see the version numbers are included in the version history, which is the "release > name" attribute in the Github webhook. The "release > body" attribute has the change log/release notes as they are entered in Github.

{
  "action": "published",
  "release": {
<..>
    "tag_name": "3.9.15",
    "target_commitish": "main",
    "name": "v3.9.15",
    "draft": false,
    "prerelease": false,
    "created_at": "2024-02-06T02:17:30Z",
    "published_at": "2024-02-06T02:26:39Z",
    "assets": [

    ],
    "body": "- Fixes for saving custom areas.\r\n- Fix saving of \"invert filters\" options for PUR and URs.\r\n- Fix for creating custom areas based on screen position (thanks YUL_)\r\n\r\n**Full Changelog**: https://github.com/jangliss/WME-URMP/compare/3.9.13...3.9.15"
  },
  "repository": {
<..>
  },
  "sender": {
<..>
  }
}

Is there any way to have Greasy Fork include the release notes/body from the Github webhook?

§
Pubblicato: 09/02/2024

Currently, no, and I don't think I will change that. The message for each version is supposed to be fairly short, like a commit message. Release notes typically are much longer, so don't really belong there.

Pubblica risposta

Accedi per pubblicare una risposta.