fix: if tag exists and protected branch, APP_VERSION=tag
If a new tag is created with the name of a protected branch then the APP_VERSION variable will be the tag name. This means artifacts will be created under this tag name.
WARNING! Gitlab maintenance operation scheduled for Thursday, 18 June between 19:00 and 20:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
If a new tag is created with the name of a protected branch then the APP_VERSION variable will be the tag name. This means artifacts will be created under this tag name.