lib/tasks/appbox.rake in dtc_rake-0.1.2 vs lib/tasks/appbox.rake in dtc_rake-0.2.0

- old
+ new

@@ -36,10 +36,10 @@ error("Specify login credentials") unless credentials UU::OS::Security::Session.login(credentials) config = DtcRake::Config.instance art_name = "#{product.app_descriptor[:data][:name]} #{version}" - art_code = "#{product.app_descriptor[:data][:code]}_#{version}" + art_code = config.appbox_artifact_code || "#{product.app_descriptor[:data][:code]}_#{version}" announce "Creating appbox #{art_code} in territory #{config.appbox_territory_code}" appbox_uri = UU::OS::Artifact.create(location, name: art_name, code: art_code,