Skip to content

Instantly share code, notes, and snippets.

@codebutler
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save codebutler/9625330 to your computer and use it in GitHub Desktop.

Select an option

Save codebutler/9625330 to your computer and use it in GitHub Desktop.
def password = null
def askPassword() {
return 'security -q find-generic-password -g -l omw-release -w'.execute().text.trim()
}
afterEvaluate {
validateReleaseSigning.doFirst {
password = askPassword()
signingConfig.storePassword = password
signingConfig.keyPassword = password
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment