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

Support the make_latest option #329

Closed
wants to merge 1 commit into from

Conversation

ramsey
Copy link

@ramsey ramsey commented Feb 15, 2023

| `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
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
Copy link
Author

ramsey commented Feb 15, 2023

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
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