lib/java/artifact.rb in buildr-0.19.0 vs lib/java/artifact.rb in buildr-0.20.0
- old
+ new
@@ -496,10 +496,10 @@
session.mkpath path
session.upload artifact.to_s, path + Artifact.hash_to_file_name(spec)
else
# Upload artifact to URL.
puts "Deploying #{artifact}" if verbose
- session.upload artifact, File.basename(artifact)
+ session.upload artifact.to_s, File.basename(artifact.to_s)
end
end
end
end