Skip to content

Commit a2f1075

Browse files
committed
Support ed25519 SSH keys for release signing
1 parent 694d03f commit a2f1075

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ scmVersion {
2727
type = "git"
2828
// SSH key file is only required when creating a new release and pushing tags to remote repo
2929
def sshKeyFile = file("${System.properties['user.home']}/.ssh/id_rsa")
30+
if (!sshKeyFile.exists()) {
31+
sshKeyFile = file("${System.properties['user.home']}/.ssh/id_ed25519")
32+
}
3033
if (sshKeyFile.exists()) {
3134
customKeyFile = sshKeyFile
3235
customKeyPassword = ''

0 commit comments

Comments
 (0)