Commit e093afc7 authored by Nikolay Igotti's avatar Nikolay Igotti

Attempt to workaround signer site issue.

parent f2b5c392
......@@ -322,7 +322,7 @@ fun remoteSign(sign_host: String, lib: File) {
val out = file("${lib.absolutePath}.signed")
val cmd = """
TOKEN=`curl -fsSL --user $user:$token --url "$sign_host/auth" | grep token | cut -d '"' -f4` \
&& curl --no-keepalive --data-binary @${lib.absolutePath} \
&& curl --no-keepalive --http1.1 --data-binary @${lib.absolutePath} \
-H "Authorization: Bearer ${'$'}TOKEN" \
-H "Content-Type:application/x-mac-app-bin" \
"$sign_host/sign?name=${lib.name}" -o "${out.absolutePath}"
......@@ -580,4 +580,4 @@ tasks.withType<KotlinCompile>().configureEach {
if (name == "compileTestKotlinJvm") {
kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}
\ No newline at end of file
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment