lib/cicd/builder/mixlib/repo/artifactory.rb in cicd-builder-0.9.29 vs lib/cicd/builder/mixlib/repo/artifactory.rb in cicd-builder-0.9.30
- old
+ new
@@ -104,10 +104,10 @@
raise "Unable to parse out file name in #{data[:file]}"
end
unless file_name.empty? or file_name.match(%r'^-')
file_name = "-#{file_name}"
end
- artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{@vars[:variant]}.#{file_ext}" # -#{data[:build]}
+ artifact_name = "#{data[:name]}-#{data[:version]}#{file_name}-#{data[:build]}.#{file_ext}" # -#{@vars[:variant]}
artifact_path = "#{artifactory_org_path()}/#{data[:name]}/#{data[:version]}-#{@vars[:variant]}/#{artifact_name}"
manifest[data[:name]] = artifact_path
if objects.nil? or objects.size == 0
upload = true
else
\ No newline at end of file