Commits

Meikel Brandmeyer committed d042577

Sign also pom file

  • Participants
  • Parent commits f8089f3

Comments (0)

Files changed (1)

     version = '1.5.3-SNAPSHOT'
 
     apply plugin: 'signing'
-
-    signing {
-        sign configurations.archives
-    }
 }
 
 project(':clojuresque') {
         project.pom().writeTo(project.pomFile)
     }
 
+    artifacts {
+        writePom.outputs.files.each { archives it }
+    }
+
+    signing {
+        sign configurations.archives
+    }
+
+    signArchives {
+        dependsOn writePom
+    }
+
     uploadArchives {
         dependsOn project.writePom
     } << {
             commandLine(
                 '/usr/bin/scp',
                 project.pomFile,
+                project.pomFile + ".asc",
                 project.jar.archivePath.path,
                 project.jar.archivePath.path + ".asc",
                 'clojars@clojars.org:'