Skip to content

Commit

Permalink
Fix command line arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoraes74 committed Oct 18, 2023
1 parent 7841118 commit 84d8cb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/release.kts
Original file line number Diff line number Diff line change
Expand Up @@ -93,12 +93,12 @@ val buildCommand = object: CliktCommand(name = "build") {

val notarizeCommand = object: CliktCommand(name = "notarize") {
override fun run() {
val password = password ?: KintaEnv.get(KintaEnv.Var.APPLE_PASSWORD)
val username = username ?: KintaEnv.get(KintaEnv.Var.APPLE_USERNAME)
val password = KintaEnv.get(KintaEnv.Var.APPLE_PASSWORD)
val username = KintaEnv.get(KintaEnv.Var.APPLE_USERNAME)
val itcProvider = KintaEnv.getOrFail("ITC_PROVIDER")
val file = File(hstrackerAppZipPath)

val command = "xcrun notarytool --submit --apple-id $username --password $password --team-id $itcProvider ${file.absolutePath} --wait"
val command = "xcrun notarytool submit --apple-id $username --password $password --team-id $itcProvider ${file.absolutePath} --wait"

val result = CommandLine.output(command = command)

Expand Down

0 comments on commit 84d8cb1

Please sign in to comment.