Running on a pipeline triggered by a tag (we use tags to trigger our release/deployment pipelines), so CIRCLE_BRANCH is empty, with the following params:
Validation in load_variables is throwing the following:
Block: false
environment: line 29: MY_BRANCH: Required MY_BRANCH not found! This is likely a bug in orb, please report.
Exited with code exit status 127
CircleCI received exit code 127
Expected behavior
I guess I expected it to work? 😛
Seriously though, when CIRCLE_TAG is present, CIRCLE_BRANCH will always be empty, so maybe don't make the branch required in that case?
Orb version
3.1.2
What happened
Running on a pipeline triggered by a tag (we use tags to trigger our release/deployment pipelines), so
CIRCLE_BRANCH
is empty, with the following params:Validation in
load_variables
is throwing the following:Expected behavior
I guess I expected it to work? 😛 Seriously though, when
CIRCLE_TAG
is present,CIRCLE_BRANCH
will always be empty, so maybe don't make the branch required in that case?