We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d429c3 commit 3377b9aCopy full SHA for 3377b9a
1 file changed
build.gradle.kts
@@ -118,9 +118,12 @@ publishing {
118
119
jreleaser {
120
signing {
121
- mode = Mode.COMMAND
122
active = Active.ALWAYS
123
armored = true
+ mode = if (System.getenv("CI") != null) Mode.MEMORY else Mode.COMMAND
124
+ command {
125
+ executable = "/opt/homebrew/bin/gpg"
126
+ }
127
}
128
deploy {
129
maven {
@@ -191,3 +194,10 @@ tasks.shadowJar {
191
194
tasks.jar {
192
195
manifest.attributes["Main-Class"] = "tanin.ejwf.Main"
193
196
197
+
198
+// For CI validation.
199
+tasks.register("printVersion") {
200
+ doLast {
201
+ print("$version")
202
203
+}
0 commit comments