mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-300773 currently sit cannot be signed on Windows
GitOrigin-RevId: 1f55d427e86db8d9a3be296d137176eb6e790ad3
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2c2e894e10
commit
3575a0302b
@@ -153,11 +153,16 @@ private suspend fun buildLocally(sitFile: Path,
|
||||
customizer: MacDistributionCustomizer,
|
||||
context: BuildContext) {
|
||||
val tempDir = context.paths.tempDir.resolve(sitFile.fileName.toString().replace(".sit", ""))
|
||||
spanBuilder("bundle JBR and sign sit locally")
|
||||
.setAttribute("sitFile", sitFile.toString()).useWithScope {
|
||||
Files.createDirectories(tempDir)
|
||||
signSitLocally(sitFile, tempDir, sign, notarize, customizer, context)
|
||||
}
|
||||
if (SystemInfoRt.isWindows) {
|
||||
Span.current().addEvent("Currently sit cannot be signed on Windows")
|
||||
}
|
||||
else {
|
||||
spanBuilder("bundle JBR and sign sit locally")
|
||||
.setAttribute("sitFile", sitFile.toString()).useWithScope {
|
||||
Files.createDirectories(tempDir)
|
||||
signSitLocally(sitFile, tempDir, sign, notarize, customizer, context)
|
||||
}
|
||||
}
|
||||
if (context.publishSitArchive) {
|
||||
context.notifyArtifactBuilt(sitFile)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user