CircleCI & Semantic-Release


#1

I recently published an npm package to the registry using CircleCI to do the publishing via semantic-release scripts I am running into a bit of a problem though. If there are no relevant changes seen by semantic-release it will, as it should, not publish any updates to the registry. This, however, causes my build to fail which is kind of a pain. There is nothing wrong with the build there was just no need to publish updates to the registry. So, for instance, should I update documentation or make a change that is not considered a patch, feature, or breaking change the build will show as failed. Is it possible to write some kind of conditional?

My config.yml can be found in the following gist


#2

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.