1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-11 14:39:28 +02:00

fix(aur): use StrictHostKeyChecking=accept-new by default

Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos A Becker 2022-01-21 22:17:12 -03:00
parent 592e763f6b
commit acddce5777
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ import (
const ( const (
pkgBuildExtra = "AURConfig" pkgBuildExtra = "AURConfig"
defaultSSHCommand = "ssh -i {{ .KeyPath }} -F /dev/null" defaultSSHCommand = "ssh -i {{ .KeyPath }} -o StrictHostKeyChecking=accept-new -F /dev/null"
defaultCommitMsg = "Update to {{ .Tag }}" defaultCommitMsg = "Update to {{ .Tag }}"
) )

View File

@ -137,7 +137,7 @@ aurs:
# This is mainly used to specify the SSH private key used to pull/push to # This is mainly used to specify the SSH private key used to pull/push to
# the Git URL. # the Git URL.
# #
# Defaults to `ssh -i {{ .KeyPath }} -F /dev/null`. # Defaults to `ssh -i {{ .KeyPath }} -o StrictHostKeyChecking=accept-new -F /dev/null`.
git_ssh_command: 'ssh -i {{ .Env.KEY }} -o SomeOption=yes' git_ssh_command: 'ssh -i {{ .Env.KEY }} -o SomeOption=yes'
# Template for the url which is determined by the given Token # Template for the url which is determined by the given Token