message: chore: publish CLI releases from any branch
  The channel is only deduced from package.json version
diff: @@ -21,17 +21,17 @@ if [ ! ${PACKAGE_VERSION} == ${CLI_VERSION} ]; then
  exit 1
  fi
  -if [ $GIT_BRANCH == "release" ] && [ -z $(echo $PACKAGE_VERSION | grep '(alpha|beta)') ]; then
  - NPM_TAG=latest
  -elif [ $GIT_BRANCH == "staging" ] && [ ! -z $(echo $PACKAGE_VERSION | grep beta) ]; then
  +if [ ! -z $(echo $PACKAGE_VERSION | grep 'beta') ]; then
  NPM_TAG=beta
  -elif [ $GIT_BRANCH == "master" ] && [ ! -z $(echo $PACKAGE_VERSION | grep alpha) ]; then
  +elif [ ! -z $(echo $PACKAGE_VERSION | grep 'alpha') ]; then
  NPM_TAG=alpha
  else
  - printf "Error: The package.json version does not correspond to the git branch name. The branch is $GIT_BRANCH, while package.json version is $PACKAGE_VERSION.\nHere is the list of accepted combinations:\n - release: version should not contains words 'alpha' or 'beta'\n - staging: version should contain word 'beta'\n - master: version should contain word 'alpha'\nPublishing from any other branches is not allowed."
  - exit 1
  + NPM_TAG=latest
  fi
  +echo $PACKAGE_VERSION
  +echo $NPM_TAG
  +
  npm publish --tag=${NPM_TAG}
  # These are only updated for releases
  