np icon indicating copy to clipboard operation
np copied to clipboard

[CI/CD] "No commits found since previous release, continue?" is always thrown

Open kripod opened this issue 6 years ago • 0 comments

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

  1. Fork kripod/react-typed-inputs
  2. Configure Travis CI for the fork
  3. Modify a file (e.g. make the package scoped to avoid name clashes) and commit with the message feat: test
  4. Run yarn release locally, 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

kripod avatar Jan 26 '20 23:01 kripod