This is an automated email from the ASF dual-hosted git repository.
toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git
The following commit(s) were added to refs/heads/master by this push:
new 2460e72 Make sure all artifacts are signed
2460e72 is described below
commit 2460e727222560723ab8aa5b7ecc2eb0c01e49bf
Author: Antoine Toulme <[email protected]>
AuthorDate: Wed May 8 14:23:45 2019 -0700
Make sure all artifacts are signed
---
dist/build.gradle | 27 +++++++++++++++++++--------
1 file changed, 19 insertions(+), 8 deletions(-)
diff --git a/dist/build.gradle b/dist/build.gradle
index 2a7a281..d51ce64 100644
--- a/dist/build.gradle
+++ b/dist/build.gradle
@@ -18,14 +18,6 @@ apply plugin: 'distribution'
jar { enabled = false }
-if (System.getenv('ENABLE_SIGNING') == 'true') {
- signing {
- useGpgCmd()
- sign distZip
- sign distTar
- }
-}
-
distributions {
main {
baseName = 'tuweni-bin'
@@ -80,6 +72,13 @@ distributions {
gossip {
baseName = 'tuweni-gossip'
contents {
+ into('') {
+ from ".."
+ include 'README.md'
+ include 'DISCLAIMER'
+ include 'LICENSE'
+ include 'NOTICE'
+ }
into('bin') {
from { project(':gossip').startScripts.outputs.files }
fileMode = 0755
@@ -102,6 +101,18 @@ sourcesDistTar{ compression = Compression.GZIP }
gossipDistTar{ compression = Compression.GZIP }
+if (System.getenv('ENABLE_SIGNING') == 'true') {
+ signing {
+ useGpgCmd()
+ sign distZip
+ sign distTar
+ sign sourcesDistZip
+ sign sourcesDistTar
+ sign gossipDistZip
+ sign gossipDistTar
+ }
+}
+
task createChecksums(type: Checksum, dependsOn: [
'distZip',
'distTar',
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]