melos-action icon indicating copy to clipboard operation
melos-action copied to clipboard

Support graduating prereleases

Open timcreatedit opened this issue 1 year ago • 1 comments

I'm struggling to understand what the intended workflow for prereleases is. I would've thought that if I version as prerelease using an action similar to the recommended workflow_dispatch-based one, the next time I run version without setting the prerelease flag, it would automatically graduate all releases.

Instead, if I versioned a prerelease on main once, I can't get out of this prerelease using the melos action.

This can of course be solved by running melos version -g locally and merging that into main, but I would've preferred an automated workflow

timcreatedit avatar Jan 09 '25 10:01 timcreatedit

True, we have to add a proxy for the -g (graduate) flag. If you feeling like putting up a PR for it I could publish a new version, it would look almost identical to the pre-release option: https://github.com/bluefireteam/melos-action/blob/main/action.yml#L82-L85

spydon avatar Jan 09 '25 10:01 spydon

Released as v3.3.0 and moved the v3 tag to include this.

spydon avatar Jun 03 '25 16:06 spydon