np
np copied to clipboard
[CI/CD] "No commits found since previous release, continue?" is always thrown
Description
When using Travis CI to publish packages on git tags, the following error gets thrown, even with the --no-publish flag set:
No commits found since previous release, continue?
Steps to reproduce
- Fork kripod/react-typed-inputs
- Configure Travis CI for the fork
- Modify a file (e.g. make the package scoped to avoid name clashes) and commit with the message
feat: test - Run
yarn releaselocally, then commit and push the changes to be built and published by Travis
Expected behavior
The message found here should not be thrown.
Environment
np - 5.2.1 Node.js - 12.14.1 npm - 6.13.4 Git - 2.21.0 OS - Ubuntu Xenial 16.04 on Travis CI