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

Merge pull request #1938 from will-in-wi/lock_version_patch

Lock version using pessimistic version operator. Fixes #1930
This commit is contained in:
William Johnston 2017-10-12 12:16:12 -05:00 committed by GitHub
commit 33c3943fa5
2 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@ gem "capistrano", :github => "capistrano/capistrano"
* Your contribution here!
* As of this release, version 2.x of Capistrano is officially End of Life. No further releases of 2.x series are planned, and pull requests against 2.x are no longer accepted. The maintainers encourage you to upgrade to 3.x if possible.
* [#1937](https://github.com/capistrano/capistrano/pull/1937): Clarify error message when plugin is required in the wrong config file.
* [#1930](https://github.com/capistrano/capistrano/issues/1930): Default to locking the version using the pessimistic version operator at the patch level.
## [`3.9.1`] (2017-09-08)

View file

@ -1,5 +1,5 @@
# config valid only for current version of Capistrano
lock "<%= Capistrano::VERSION %>"
# config valid for current version and patch releases of Capistrano
lock "~> <%= Capistrano::VERSION %>"
set :application, "my_app_name"
set :repo_url, "git@example.com:me/my_repo.git"