File tree Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Expand file tree Collapse file tree 2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,12 @@ task assembleJavadoc(type: Sync) {
132
132
destinationDir = file(" ${ rootProject.buildDir} /javadoc" )
133
133
}
134
134
135
+ task collectSignatures (type : Sync ) {
136
+ destinationDir = file(" ${ rootProject.buildDir} /dist" )
137
+ duplicatesStrategy DuplicatesStrategy . FAIL
138
+ include ' *.jar' , ' *.jar.asc'
139
+ }
140
+
135
141
String getGitCommit () {
136
142
def proc = " git rev-parse HEAD" . execute(null , projectDir)
137
143
proc. waitFor()
@@ -270,6 +276,14 @@ subprojects { project ->
270
276
useGpgCmd()
271
277
sign publishing. publications. jars
272
278
}
279
+
280
+ tasks. withType(Sign ) { Sign signTask ->
281
+ rootProject. tasks. collectSignatures {
282
+ from signTask. inputs. files
283
+ from signTask. outputs. files
284
+ }
285
+ signTask. finalizedBy rootProject. tasks. collectSignatures
286
+ }
273
287
}
274
288
}
275
289
Original file line number Diff line number Diff line change @@ -60,9 +60,9 @@ Release candidate versions
60
60
from ASCIIdoc to Markdown and remove line wraps. Include only
61
61
changes/additions since the previous release or pre-release.
62
62
- Attach the signature files from
63
- `webauthn-server-attestation/ build/libs /webauthn-server-attestation-X.Y.Z-RCN.jar.asc`
63
+ `build/dist /webauthn-server-attestation-X.Y.Z-RCN.jar.asc`
64
64
and
65
- `webauthn-server-core/ build/libs /webauthn-server-core-X.Y.Z-RCN.jar.asc`.
65
+ `build/dist /webauthn-server-core-X.Y.Z-RCN.jar.asc`.
66
66
- Note which JDK version was used to build the artifacts.
67
67
68
68
@@ -147,8 +147,8 @@ Release versions
147
147
from ASCIIdoc to Markdown and remove line wraps. Include all changes since
148
148
the previous release (not just changes since the previous pre-release).
149
149
- Attach the signature files from
150
- `webauthn-server-attestation/ build/libs /webauthn-server-attestation-X.Y.Z.jar.asc`
150
+ `build/dist /webauthn-server-attestation-X.Y.Z.jar.asc`
151
151
and
152
- `webauthn-server-core/ build/libs /webauthn-server-core-X.Y.Z.jar.asc`.
152
+ `build/dist /webauthn-server-core-X.Y.Z.jar.asc`.
153
153
154
154
- Note which JDK version was used to build the artifacts.
You can’t perform that action at this time.
0 commit comments