Skip to content
Snippets Groups Projects
Commit 73974045 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Hotfix for building from branch.

parent 856af431
No related branches found
No related tags found
1 merge request!739Build from branch
master
buildfrombranch:docker-registry
Loading
Loading
@@ -13,6 +13,8 @@ module Gitlab
def print
if @read_version.include?('.pre') || @read_version == "master"
"master"
elsif @read_version.start_with?('buildfrombranch:')
@read_version.gsub(/^buildfrombranch:/,'')
elsif @read_version.empty?
nil
else
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment