Skip to content

Commit 0ee50d7

Browse files
Iddddclaude
andcommitted
fix: bump version to 0.1.32-SNAPSHOT, guard signing config against missing key file
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent f36aeac commit 0ee50d7

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ signing {
118118
val isCi: Boolean by gradle.extra
119119
if (isCi) {
120120
val keyFile = System.getenv("SIGNING_KEY_FILE")
121-
if (keyFile != null) {
121+
if (keyFile != null && file(keyFile).exists()) {
122122
val keyText = file(keyFile).readText()
123123
val keyPass = System.getenv("SIGNING_KEY_PASSWORD")
124124

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxMetaspaceSize=512m
77
# https://docs.gradle.org/current/userguide/configuration_cache.html
88
org.gradle.configuration-cache=true
99

10-
version=0.1.31-SNAPSHOT
10+
version=0.1.32-SNAPSHOT
1111

1212
platformType = IC
1313
platformVersion = 2025.2

plugin-idea/build.gradle.kts

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,12 @@ publishing {
166166
signing {
167167
if (isCi) {
168168
val keyFile = System.getenv("SIGNING_KEY_FILE")
169-
val keyText = file(keyFile).readText()
170-
val keyPass = System.getenv("SIGNING_KEY_PASSWORD")
169+
if (keyFile != null && file(keyFile).exists()) {
170+
val keyText = file(keyFile).readText()
171+
val keyPass = System.getenv("SIGNING_KEY_PASSWORD")
171172

172-
useInMemoryPgpKeys(keyText, keyPass)
173-
sign(publishing.publications["pluginDistribution"])
173+
useInMemoryPgpKeys(keyText, keyPass)
174+
sign(publishing.publications["pluginDistribution"])
175+
}
174176
}
175177
}

0 commit comments

Comments
 (0)