Changeset 7378
- Timestamp:
- 08/30/07 14:48:57 (10 months ago)
- Files:
-
- tools/capistrano/CHANGELOG (modified) (1 diff)
- tools/capistrano/lib/capistrano/recipes/deploy.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
tools/capistrano/CHANGELOG
r7376 r7378 1 1 *SVN* 2 3 * Add version_dir, current_dir, and shared_dir variables for naming the directories used in deployment [drinkingbird] 2 4 3 5 * Use Windows-safe binary reads for reading file contents [fukas78] tools/capistrano/lib/capistrano/recipes/deploy.rb
r7376 r7378 40 40 41 41 _cset(:release_name) { set :deploy_timestamped, true; Time.now.utc.strftime("%Y%m%d%H%M%S") } 42 _cset(:releases_path) { File.join(deploy_to, "releases") } 43 _cset(:shared_path) { File.join(deploy_to, "shared") } 44 _cset(:current_path) { File.join(deploy_to, "current") } 42 43 _cset(:version_dir) "releases" 44 _cset(:shared_dir) "shared" 45 _cset(:current_dir) "current" 46 47 _cset(:releases_path) { File.join(deploy_to, version_dir) } 48 _cset(:shared_path) { File.join(deploy_to, shared_dir) } 49 _cset(:current_path) { File.join(deploy_to, current_dir) } 45 50 _cset(:release_path) { File.join(releases_path, release_name) } 46 51