mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Fix typo in Release Announcement
This commit is contained in:
parent
39499a01fa
commit
05b3d80bf2
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ actually more or less the actual implementation in the the new Gem):
|
||||||
task :cleanup do
|
task :cleanup do
|
||||||
keep_releases = fetch(:releases_to_keep_on_cleanup)
|
keep_releases = fetch(:releases_to_keep_on_cleanup)
|
||||||
releases = capture(:ls, fetch(:releases_directory))
|
releases = capture(:ls, fetch(:releases_directory))
|
||||||
release_to_delete = releases.sort_by { |r| rn.to_i }.slice(1..-(keep_releases + 1))
|
releases_to_delete = releases.sort_by { |r| r.to_i }.slice(1..-(keep_releases + 1))
|
||||||
releases_to_delete.each do |r|
|
releases_to_delete.each do |r|
|
||||||
execute :rm, fetch(:releases_directory).join(r)
|
execute :rm, fetch(:releases_directory).join(r)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue