assign the IS_TAG_RELEASE flag in a conditional instead of using the check result directly
do not check out the branch if this is a tag release - we want to operate in master