mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Fix sha256sums containing mapping file
This commit is contained in:
parent
bc5ed101ed
commit
99b16a59e6
1 changed files with 2 additions and 2 deletions
4
dist/build.gradle
vendored
4
dist/build.gradle
vendored
|
@ -40,11 +40,11 @@ task createChecksums(type: Checksum) {
|
|||
doLast {
|
||||
def artifactChecksumsSha256Hex = new HashMap<String, String>()
|
||||
for (final def file in outputDirectory.get().getAsFileTree().files) {
|
||||
if (file.toString().endsWith('mapping.map') || file.toString().endsWith('.asc')) {
|
||||
def name = file.name.lastIndexOf('.').with {it != -1 ? file.name[0..<it] : file.name}
|
||||
if (name.endsWith('mapping.map') || name.endsWith('.asc')) {
|
||||
continue
|
||||
}
|
||||
|
||||
def name = file.name.lastIndexOf('.').with {it != -1 ? file.name[0..<it] : file.name}
|
||||
artifactChecksumsSha256Hex.put(name, file.text.trim())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue