Preserve release-notes and prerelease when using override #8

Open
opened 2024-02-20 19:41:01 +00:00 by douglasparker · 2 comments

Hey,

I currently use forgejo-release to upload release artifacts to releases that I create via the UI.

The override option added in #7 makes this easier for me.

I am requesting we respect the previously set release-notes and prerelease when using the newly added override option, but only when those values are empty.

I think that gives the most flexibility. For those that want to clear out the release notes, they can for example set release-notes: ""

Hey, I currently use forgejo-release to upload release artifacts to releases that I create via the UI. The `override` option added in #7 makes this easier for me. I am requesting we respect the previously set `release-notes` and `prerelease` when using the newly added `override` option, but only when those values are empty. I think that gives the most flexibility. For those that want to clear out the release notes, they can for example set `release-notes: ""`
Owner

The way override works currently is by removing the previous release entirely and creating it from scratch. If I'm not mistaken what you suggest would be something a little different that would allow a partial modification of an existing release. This is an interesting idea, not trivial to implement though.

The way override works currently is by removing the previous release entirely and creating it from scratch. If I'm not mistaken what you suggest would be something a little different that would allow a partial modification of an existing release. This is an interesting idea, not trivial to implement though.
Author

The way override works currently is by removing the previous release entirely and creating it from scratch. If I'm not mistaken what you suggest would be something a little different that would allow a partial modification of an existing release. This is an interesting idea, not trivial to implement though.

Yes, that is what I am suggesting here. 😄

> The way override works currently is by removing the previous release entirely and creating it from scratch. If I'm not mistaken what you suggest would be something a little different that would allow a partial modification of an existing release. This is an interesting idea, not trivial to implement though. Yes, that is what I am suggesting here. 😄
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: actions/forgejo-release#8
No description provided.