sbt/sbt — pull request #1300 by cunei (2014-04-30 15:43:30+00:00)
Title: Do not attempt to publish if no artifacts are present

Ivy transactional publishing will abort if no artifacts
are published, either because the temporary directory is
not being created, or because Ivy will detect an anomalous
condition.

Therefore, skip publishing altogether if there is
nothing to publish to begin with.

Fixes #1281