diff --git a/lib/pact_broker/pacts/metadata.rb b/lib/pact_broker/pacts/metadata.rb index f0f62101f..a5f469249 100644 --- a/lib/pact_broker/pacts/metadata.rb +++ b/lib/pact_broker/pacts/metadata.rb @@ -11,7 +11,7 @@ module Metadata def build_metadata_for_latest_pact(pact, selection_parameters) if selection_parameters[:tag] { - consumer_version_tags: selection_parameters[:tag], + consumer_version_tags: [selection_parameters[:tag]], consumer_version_number: pact.consumer_version_number } else