Skip to content

Commit

Permalink
Merge pull request TencentBlueKing#1144 from scplsy/issue_1143
Browse files Browse the repository at this point in the history
fix: maven元数据摘要文件扩展名错误 TencentBlueKing#1143
  • Loading branch information
owenlxu authored Sep 11, 2023
2 parents ad43ec8 + 4ac8bc6 commit 76dbddc
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 76dbddc

Please sign in to comment.