I have a situation where I do the following in my beta
branch - I do all my normal pipeline but at the end I have a distribution step that does a npm version and publishes a beta version of my module.
It then pushes back to the CIRCLE_BRANCH on the origin to create the tag and update the package.json file for the project with the correct beta tag. I want to also roll this out to my master branch so that it automatically publishes my modules.
However whenever I trigger the build from a push to the branch and it completes, this then triggers another build based on the commit just made from CircleCI - and as you guessed it just goes into an infinite loop of distributions.
Is there a way to tell CircleCi not to build a push (I’ve seen something about [ci skip]
but that doesn’t appear in the 2.0 documentation