Method: Gitlab::QA::Release#qa_tag
- Defined in:
- lib/gitlab/qa/release.rb
#qa_tag ⇒ Object
Tag scheme for gitlab-ce,ee-qa images is like 11.1.0-rc12-ee
130 131 132 133 134 135 136 |
# File 'lib/gitlab/qa/release.rb', line 130 def qa_tag if dev_gitlab_org? && (match_data = tag.match(DEV_TAG_REGEX)) "#{match_data[:version]}-#{match_data[:gitlab_ref]}" else tag.sub(/[-\.]([ce]e)(\.(\d+))?\z/, '-\1') end end |