Skip to content

Commit

Permalink
fix: maven元数据checksum文件扩展名更改为小写 TencentBlueKing#1143
Browse files Browse the repository at this point in the history
  • Loading branch information
scplsy committed Sep 8, 2023
1 parent 94537b5 commit 4ac8bc6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1216,9 +1216,9 @@ class MavenLocalRepository(
}
updateMetadata("${node.path}/$MAVEN_METADATA_FILE_NAME", artifactFile)
artifactFile.delete()
updateMetadata("${node.path}/$MAVEN_METADATA_FILE_NAME.${HashType.MD5}", metadataArtifactMd5)
updateMetadata("${node.path}/$MAVEN_METADATA_FILE_NAME.${HashType.MD5.ext}", metadataArtifactMd5)
metadataArtifactMd5.delete()
updateMetadata("${node.path}/$MAVEN_METADATA_FILE_NAME.${HashType.SHA1}", metadataArtifactSha1)
updateMetadata("${node.path}/$MAVEN_METADATA_FILE_NAME.${HashType.SHA1.ext}", metadataArtifactSha1)
metadataArtifactSha1.delete()
}
}
Expand Down

0 comments on commit 4ac8bc6

Please sign in to comment.