Permalink
Browse files

Bugfix: correctly remove old releases using the versionedfs api.

  • Loading branch information...
1 parent 6332be7 commit 486d3bbeb919d42b39bcd6fe5fec4e9ad114782b @wayneeseguin wayneeseguin committed Dec 14, 2011
Showing with 5 additions and 1 deletion.
  1. +4 −1 shell/functions
  2. +1 −0 shell/initialize
View
@@ -298,7 +298,10 @@ remove_releases()
_release="${1/:/\/}"
shift
log "Removing old release ${_release}"
- path remove "${_release}"
+ versionedfs remove \
+ path "${project_path}" \
+ name "${project}" \
+ version ${_release}
done
}
View
@@ -58,3 +58,4 @@ deploy_steps=(
record
cleanup
)
+

0 comments on commit 486d3bb

Please sign in to comment.