Does bitbucket have a piece of data for conditionally `npm version major | minor | patch | premajor | preminor | prepatch | prerelease` task run?
For example I'd like to have something like that
branches:
dev:
- script
if ($BRANCH_NAME.match("feature/")) {
- npm version minor --no-git-tag-version
}
where $BRANCH_NAME is a name of branch we're pulling to dev, but not dev as it is right now
so I'd like to be able change version if merge-request was approved and merged