Publishing npm Packages Using CircleCI 2.0

I followed the instructions on this article…

Yet for some reason, my workflow is trying to publish on every push, not just on new version tags. So I’m getting an error from NPM You cannot publish over the previously published versions .

Obviously, I only want to publish once per tag. How do I setup that filter?

Here’s my config:

This was totally my bad. My local build process was publishing while applying the tag, so of course it was always going to fail trying to publish again from the tag in CI. All fixed now.

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