Verified Commit b0c1f977 authored by Robert Speicher's avatar Robert Speicher 🇲🇽

Don't double-append EE to passing build ref

parent bc2cb5b9
......@@ -12,7 +12,7 @@ namespace :passing_build do
task :ee, [:ref, :trigger_build] do |_t, args|
ref = args.fetch(:ref, 'master').dup
# HACK: Allow `X-Y-stable` as an argument for both tasks, except master
ref << '-ee' unless ref == 'master'
ref << '-ee' unless ref == 'master' || ref.end_with?('-ee')
passing_build(ReleaseTools::Project::GitlabEe, ref).execute(args)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment