mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Version bump to 2.5.17
This commit is contained in:
parent
eb37051b0c
commit
8c68a71bef
2 changed files with 20 additions and 1 deletions
16
CHANGELOG
16
CHANGELOG
|
@ -1,4 +1,18 @@
|
||||||
== 2.5.15 / 14 Febuary 2010
|
== 2.5.18 / March 14, 2010
|
||||||
|
|
||||||
|
Small fix for rolling back if a shell scripts exits non-zero; enabled a rollback if git (or other) externals fail during the deploy.
|
||||||
|
|
||||||
|
* #151 check return code status of system command to create local copy and rollback if not 0 (David King)
|
||||||
|
|
||||||
|
== 2.5.17 / February 27, 2010
|
||||||
|
|
||||||
|
Various small bug fixes.
|
||||||
|
|
||||||
|
== 2.5.16 / February 14, 2010
|
||||||
|
|
||||||
|
Fixed a small regression in 2.5.15
|
||||||
|
|
||||||
|
== 2.5.15 / 14 February 2010
|
||||||
|
|
||||||
Fixes a feature request not to overwrite roles when using the ROLES environmental variable.
|
Fixes a feature request not to overwrite roles when using the ROLES environmental variable.
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,11 @@ module Capistrano
|
||||||
system(source.checkout(revision, copy_cache))
|
system(source.checkout(revision, copy_cache))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
# Check the return code of last system command and rollback if not 0
|
||||||
|
unless $? == 0
|
||||||
|
raise Capistrano::Error, "shell command failed with return code #{$?}"
|
||||||
|
end
|
||||||
|
|
||||||
logger.debug "copying cache to deployment staging area #{destination}"
|
logger.debug "copying cache to deployment staging area #{destination}"
|
||||||
Dir.chdir(copy_cache) do
|
Dir.chdir(copy_cache) do
|
||||||
FileUtils.mkdir_p(destination)
|
FileUtils.mkdir_p(destination)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue