Commits

Meikel Brandmeyer committed ed587ac

Also publish SNAPSHOTs

  • Participants
  • Parent commits fc91590

Comments (0)

Files changed (1)

 
 subprojects {
     uploadArchives.doLast {
-        if (!project.version.endsWith("-SNAPSHOT")) {
-            String pomName = project.buildDirName + "/" + project.pomDirName + "/" +
-                project.name + "-" + project.version + ".xml"
+        String pomName = project.buildDirName + "/" + project.pomDirName + "/" +
+            project.name + "-" + project.version + ".xml"
 
-            project.pom().writeTo(pomName)
+        project.pom().writeTo(pomName)
 
-            project.exec {
-                commandLine(
-                    '/usr/bin/scp',
-                    project.file(project.tasks.jar.archivePath).path,
-                    project.file(pomName).path,
-                    'clojars@clojars.org:'
-                )
-            }
+        project.exec {
+            commandLine(
+                '/usr/bin/scp',
+                project.file(project.tasks.jar.archivePath).path,
+                project.file(pomName).path,
+                'clojars@clojars.org:'
+            )
         }
     }
 }