Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating an existing release replaces its name and body #15

Closed
imatpot opened this issue May 24, 2020 · 2 comments
Closed

Updating an existing release replaces its name and body #15

imatpot opened this issue May 24, 2020 · 2 comments
Assignees

Comments

@imatpot
Copy link

imatpot commented May 24, 2020

When setting allowUpdates to true, the release's name and body will be replaced with default values (for example a list of commits for the body). It would be great if those settings/texts of an existing release could be preserved (either by default or via an input called preserveTexts for example).

Note that I did not set the body and name inputs.

@imatpot imatpot closed this as completed May 25, 2020
@imatpot imatpot reopened this May 25, 2020
@imatpot
Copy link
Author

imatpot commented May 25, 2020

Sorry, my bad. The "close" button in the new GitHub app looks like a button to close the bottom drawer.

@ncipollo ncipollo self-assigned this May 25, 2020
ncipollo pushed a commit that referenced this issue May 25, 2020
@ncipollo ncipollo reopened this May 25, 2020
@ncipollo
Copy link
Owner

You can now omit the body and name for a release. This will preserve the values previously set on the release during an update.

omitBody: true
omitName: true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants