使用 'stack upload' 时出现 GPG 错误
GPG error when using 'stack upload'
当我 运行 stack upload
我得到一个错误:
Environment variable GPG_TTY is not set (see man gpg-agent)
Unable to find gpg2 or gpg executable
上传似乎成功了,但错误与我有关。
这个错误的后果是什么?有没有办法避免压制它?
根据评论中的讨论,错误是由于 stack
trying to automatically GPG sign packages that are being uploaded as of version 1.1.0。
据我了解,这是一个特定于堆栈的功能(cabal
或 hackage 中没有内置包签名),可以使用 --no-signature
命令行选项 stack upload
禁用它].
当我 运行 stack upload
我得到一个错误:
Environment variable GPG_TTY is not set (see man gpg-agent)
Unable to find gpg2 or gpg executable
上传似乎成功了,但错误与我有关。
这个错误的后果是什么?有没有办法避免压制它?
根据评论中的讨论,错误是由于 stack
trying to automatically GPG sign packages that are being uploaded as of version 1.1.0。
据我了解,这是一个特定于堆栈的功能(cabal
或 hackage 中没有内置包签名),可以使用 --no-signature
命令行选项 stack upload
禁用它].