releasify icon indicating copy to clipboard operation
releasify copied to clipboard

skip npm

Open Eomm opened this issue 5 years ago • 2 comments

🚀 Feature Proposal

A parameter to skip npm phase. The bump of the version will be skipped as well

Motivation

if i have a published module, I need to skip npm but i need to create the GH release

Example

releasify publish --skip-npm --from-commit xxx --to-commit yyy

Eomm avatar Feb 18 '20 20:02 Eomm

I would like to work on this issue. Any hint on how to start?

Release Process with --skip-npm

  • It checks that your local repo is aligned with your git remote
  • It creates a GitHub release with a CHANGELOG description also creating a tag with the same version as per your package.json

Which files I have to edit? A unit test is required?

Thanks!

piemme avatar Oct 30 '20 10:10 piemme

Which files I have to edit?

Here is where the npm publish is done and that one we would like to avoid:

https://github.com/fastify/releasify/blob/master/lib/commands/publish.js#L122

A unit test is required?

Yes, we need it

Eomm avatar Nov 08 '20 18:11 Eomm