Visitar URL original
Support the make_latest option by ramsey · Pull Request #329 · softprops/action-gh-release · GitHub
Skip to content

Support the make_latest option - #329

Closed
ramsey wants to merge 1 commit into
softprops:masterfrom
ramsey:make-latest-option
Closed

ramsey wants to merge 1 commit into
softprops:masterfrom
ramsey:make-latest-option

Conversation

@ramsey

@ramsey ramsey commented Feb 15, 2023

Copy link
Copy Markdown

Comment thread README.md
| `body_path` | String | Path to load text communicating notable changes in this release |
| `draft` | Boolean | Indicator of whether or not this release is a draft |
| `prerelease` | Boolean | Indicator of whether or not is a prerelease |
| `make_latest` | Boolean or `"legacy"` | Indicator of whether or not this is the latest release; defaults to `true`. `"legacy"` specifies that the latest release should be determined based on the release creation date and higher semantic version. Drafts and prereleases cannot be set as latest. |

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The addition of make_latest is the only change to the content of this table. The other lines changed due to the table layout change caused by increasing the width of the "Type" column.

@ramsey

ramsey commented Feb 15, 2023

Copy link
Copy Markdown
Author

Oops! I should have checked existing pull requests first. There's already #304 open for this same functionality. Most of it overlaps, but I'll leave this open in case you want to use the changes I made to github.ts to support checking whether the existing release is the latest release (when updating a release instead of creating one).

@softprops

Copy link
Copy Markdown
Owner

merged #304 so closing this for now. thanks for the heads up though!

@softprops softprops closed this Mar 8, 2024
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

Successfully merging this pull request may close these issues.

2 participants