<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Geoff Evason &#187; capistrano</title>
	<atom:link href="http://geoff.evason.name/tag/capistrano/feed/" rel="self" type="application/rss+xml" />
	<link>http://geoff.evason.name</link>
	<description></description>
	<lastBuildDate>Wed, 30 Nov 2011 03:41:06 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Setting a Capistrano Variable from the Command Line</title>
		<link>http://geoff.evason.name/2009/03/27/setting-a-capistrano-variable-from-the-command-line/</link>
		<comments>http://geoff.evason.name/2009/03/27/setting-a-capistrano-variable-from-the-command-line/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 00:57:46 +0000</pubDate>
		<dc:creator>Geoff</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[capistrano]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://geoff.evason.name/?p=65</guid>
		<description><![CDATA[It took me a little while to find a solution for this, so I thought I&#8217;d post it.
I was cleaning some deployment dirs and wanted, just for this instance, to only leave 1 release as opposed to the 5 releases that capistrano leaves by default. Keep in mind this was across about 6 apps and [...]]]></description>
			<content:encoded><![CDATA[<p>It took me a little while to find a solution for this, so I thought I&#8217;d post it.</p>
<p>I was cleaning some deployment dirs and wanted, just for this instance, to only leave 1 release as opposed to the 5 releases that capistrano leaves by default. Keep in mind this was across about 6 apps and 2 stages for each.</p>
<p>Option 1: Add the following to the deploy.rb files:</p>
<pre><code class="ruby">
set :keep_releases, 1
</code></pre>
<p>That would require changing them all back afterwards.</p>
<p>Options 2: Set the capistrano variable from the command line:</p>
<pre><code class="ruby">
cap deploy:cleanup -s keep_releases=1
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://geoff.evason.name/2009/03/27/setting-a-capistrano-variable-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

