1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Rename verify_commit option to git_verify_commit

Conforming with naming conventions for git specific variables
This commit is contained in:
mohamed 2021-02-26 10:16:22 -08:00
parent 303366f215
commit b25e90c7a6
No known key found for this signature in database
GPG key ID: 391D67951A0ED9C4
2 changed files with 3 additions and 4 deletions

View file

@ -158,10 +158,9 @@ The following variables are settable:
* **default:** `0`
* Number of seconds to wait after you reach the limit of concurrent connections to Git repository server and disconnect afterwards to initialize new connections. This prevents from being cut out of SSH server when you use `fail2ban` or similar software for limiting connections to server.
* `:verify_commit`
* `:git_verify_commit`
* **default:** `false`
* Whether to check if a valid signature exists on the commit to be deployed.
* Currently only implemented for Git.
* Whether to check if a valid signature exists on the Git commit to be deployed.
Capistrano plugins can provide their own configuration variables. Please refer
to the plugin documentation for the specifics. Plugins are allowed to add or

View file

@ -42,7 +42,7 @@ namespace :git do
within repo_path do
with fetch(:git_environmental_variables) do
git_plugin.update_mirror
git_plugin.verify_commit if fetch(:verify_commit)
git_plugin.verify_commit if fetch(:git_verify_commit)
end
end
end