- Bump shelljs to avoid security issue.
- Bump github-release-from-changelog to v2 to support more changelog formats.
- Use
npm install
if no lock files found (by @hudochenkov in #25).
- Fixed: annotated tags won't have "created with npmpub" anymore.
- Use
yarn --frozen-lockfile
ornpm ci
for cleanup - Fixed: tags are now annotated tags.
-
Added:
--skip-test
, because you might need it for shitty test runner (eg:testling
don't like to be ran from another location). That's a pretty stupid option, I agree.Recommended Usage:
npm test && npmpub --skip-test
.
- Fixed: 3.0.2 deactivated auto GitHub release. This is now fixed.
- Fixed:
--no-release
flag now works.
- Fixed: "npm publish" should actually call "npm publish", not "npmPublish".
Complete rewrite using Node.js instead of sh.
- Changed: bin is now "npmpub"
- Added: Does a GitHub release by default from the version number and the corresponding section in your changelog.
- Added:
--help
to see the help - Added:
--verbose
to see some informations. - Added:
--debug
to see all informations about process. - Added:
--skip-status
to skip git status check - Added:
--skip-fetch
to skip git fetch to compare remote - Added:
--skip-compare
to skip git comparison with origin - Added:
--skip-cleanup
to skip node_modules cleanup - Added:
--dry
to skip npm publish, just to check that tests are ok. - Added:
--no-release
to avoid the GitHub release from changelog.
- Changed: do not rebase by default, but instead show a warning if relevant.
- Fixed: no more
*-trash
warnings (trash
replaced bytrash-cli
). - Added: show a warning if you have unstashed changes or remote is unreadable.
✨ Initial release