Sha256: 0a8312ff96adb0c9e4bdc323dd72094931235133237b6930c608311e9e845572
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
namespace :deploy do desc "Bump version number and deploy" task :bump do version.bump update_code symlink restart end namespace :version do desc "Bump version number" task :bump do rake_params = ENV['VER'] ? "VER=#{ENV['VER']}" : '' system "rake version:bump #{rake_params}" end desc "Upload version config file" task :upload_config do VERSION_FILE_PATH = 'config/version.yml' top.upload VERSION_FILE_PATH, "#{release_path}/#{VERSION_FILE_PATH}" end end after 'deploy:update_code', 'deploy:version:upload_config' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rdavila-version_master-0.1.1 | recipes/version_master.rb |