Closed mcous closed 3 weeks ago
Comment no longer relevant; see PR desription
~Oof, this one is rough; semantic-release
really doesn't have a good, out of the box way to simply get the expected bump and release notes from a PR without doing any of the other semantic release stuff~
~This is a really common problem in the community it seems, so there's a lot of work floating around to try to solve it. I'll evaluate potential solutions and come back to this~
@yanick I was also curious about your thoughts on this one. I'm walking away pretty annoyed with semantic-release
as a tool, but this PR I think is at least a little helpful, and unblocks #354 by adding release.config.js
I don’t think this PR as written is worth the risk. I think it should be pared down to just the config file changes so that #354 can be addressed, but I don’t see a great path forward with #356
Overview
This PR updates the release configuration to use
semantic-release
directly rather than misdirect through a 3rd-party GitHub Action. By usingsemantic-release
directly, we also gain the opportunity to do "dry run" releases locally.Closes #356 (maybe?)
Change log
semantic-release
to dev dependenciessemantic-release
release:preview
script for maintainers to locally preview a release on a branchRelease preview
I originally set out to get a "release preview" to be a part of the CI workflow. I ran into the following roadblocks with
semantic-release
:I threw myself at it a couple times, and walked away thinking that this just isn't something
semantic-release
is designed to do. So, I settled for something a little more crude that can hopefully still be helpful for maintainers - a local script:Wen I run this on this branch, I get: