Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 7378

Show
Ignore:
Timestamp:
08/30/07 14:48:57 (10 months ago)
Author:
minam
Message:

Add version_dir, current_dir, and shared_dir variables for naming directories used in deployment (closes #9283)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/capistrano/CHANGELOG

    r7376 r7378  
    11*SVN* 
     2 
     3* Add version_dir, current_dir, and shared_dir variables for naming the directories used in deployment [drinkingbird] 
    24 
    35* Use Windows-safe binary reads for reading file contents [fukas78] 
  • tools/capistrano/lib/capistrano/recipes/deploy.rb

    r7376 r7378  
    4040 
    4141_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) } 
    4550_cset(:release_path)      { File.join(releases_path, release_name) } 
    4651