mikeal / merge-release

Automatically release all merges to master on npm.
Other
471 stars 64 forks source link

Call "merge-release.js" directly, rather than deploying as npm package #34

Closed benwinding closed 3 years ago

benwinding commented 3 years ago

Hi @mikeal, This relates to issue #22 . But here's a brief overview of this PR

Current System

Proposed Changes (this PR)

https://github.com/benwinding/merge-release/blob/87f0410e7678aa4dd12c76c1c9569d4f9f29eb9f/entrypoint.sh#L39-L40

Conclusion

Future Improvements

Let me know if there's any questions, concerns or changes you think are necessary.

Cheers, Ben

mikeal commented 3 years ago

Love it!

Moving the package.json appears to have broken the tests and probably the publish phase of this repo though.

I’m a little conflicted about how to fix that though. Now that we aren’t calling npx we don’t actually need the publish to npm phase (I would like some level or testing or linting in the project though) so we could dump that entire workflow and do something new that just pushed taged releases for every push that passes some linting.

Thoughts? I don’t want to derail this improvement with a bunch of build tooling so let me know what sounds easiest and we’ll go with that for now.

mikeal commented 3 years ago

Would love to get this in ;)

benwinding commented 3 years ago

Would love to get this in ;)

Me too! :grinning:

I just added another commit, which changes the mikeals-workflow.yml file:

Cheers, Ben

mikeal commented 3 years ago

Looks good, merging.