CircleCI-Public / orb-tools-orb

Various tools for authoring and publishing CircleCI orbs
https://circleci.com/orbs/registry/orb/circleci/orb-tools
MIT License
51 stars 74 forks source link

Parameter `fail-if-semver-not-indicated` set to `true` is ignored #112

Closed yaningo closed 3 years ago

yaningo commented 3 years ago

As a user pointed out in this CircleCI Discuss post, setting fail-if-semver-not-indicated to true upon calling the dev-promote-prod-from-commit-subject orb's command doesn’t fail the build when the commit subject did not indicate which SemVer increment to make.

However the step's output confirms that semver was not detected:

Commit subject: change readme. Commit subject did not indicate which SemVer increment to make. To publish orb, you can ammend the commit or push another commit with [semver:FOO] in the subject where FOO is major, minor, patch. Note: To indicate intention to skip promotion, include [semver:skip] in the commit subject instead.