Hello,
I’m trying to trigger builds based on a regex for a tag on github.
I’ve tried both of these, but it appears to not work as it doesn’t show up in the build workflow. To my understanding CF_BRANCH returns the tag name but I’m not sure what I’m doing wrong for these conditions to pass. The tag is “dev-test1”
test_dev_only: title: "Packaging project" image: codefresh/build-cli type: "freestyle" stage: "Prepare" commands: - echo "This works" when: branch: only: - /^((dev))-.*/gi test_dev_only: title: "Packaging dev project" image: codefresh/build-cli type: "freestyle" stage: "Prepare" commands: - echo "This works dev" when: condition: all: executeForDevTags: "match('${{CF_BRANCH}}','^((dev))-.*\\i',true)"