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

Avoid marking releases as Latest #340

Open
ertrzyiks opened this issue Dec 6, 2023 · 0 comments
Open

Avoid marking releases as Latest #340

ertrzyiks opened this issue Dec 6, 2023 · 0 comments

Comments

@ertrzyiks
Copy link

Hey,

This idea is similar to #322 and they may be considered as a single issue.

Releases created by the action do not specify make_latest param for the createRelease call and the default behavior of Github is

Defaults to true for newly published releases.

With a repository being a host to many packages the Latest release doesn't necessarily mean the most recently published package. In my particular case none of the packages should claim the Latest release status. The project release workflow that we consider to be the Latest is managed separately from the changeset publishing workflow.

I'm happy to contribute with the code change or to learn that this is not the direction you envisioned for this action to take.

Possible solution

  1. Extend the action to inputs to allow set make_latest to false when a new Github release is created
  2. Always create a release with make_latest set to false (potentially a breaking change to some users)

Considered alternative

Set createGithubReleases to false and create releases outside of this action

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

1 participant