ci(release): account for detached git repo in CI

Grabbing the branch name directly leads to this error in CI:

Error: current branch is HEAD. 
Releases should only be created from the 'master' branch.

The CI git repo is in a detached state and we need to grab the branch name directly from CI_COMMIT_BRANCH

Merge request reports

Loading
Loading