Fix release stage rules in gitlab-ci.yml
What does this MR do and why?
It fixes release
job, that checked $CI_COMMIT_BRANCH
variable, that is not available for pipelines run for tags according to https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
The commit branch name. Available in branch pipelines, including pipelines for the default branch. Not available in merge request pipelines or tag pipelines.