#!/bin/bash if [[ "${BRANCH_NAME}" == "master" ]] then ./versions.sh minor echo "Updating minor version ... " fi if [[ "${BRANCH_NAME}" == release* ]] then ./versions.sh patch echo "Updating patch version ... " fi