caploy 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -42,6 +42,10 @@ Capistrano::Configuration.instance.load do
42
42
  run "cd #{release_path} && echo \"#{branch}\" > CURRENT_BRANCH"
43
43
  end
44
44
 
45
+ task :set_staging_release_test_info_file, :roles => :app do
46
+ run "cd #{release_path} && echo \"#{branch}\" > RELEASE_TEST" if branch == 'master' and ENV['RELEASE_TEST']
47
+ end
48
+
45
49
  desc "build missing paperclip styles"
46
50
  task :build_missing_paperclip_styles, :roles => :app do
47
51
  run "cd #{current_path}; RAILS_ENV=#{rails_env} bundle exec rake paperclip:refresh:missing_styles"
@@ -52,6 +56,7 @@ Capistrano::Configuration.instance.load do
52
56
  run "cat #{current_path}/REVISION"
53
57
  end
54
58
 
59
+ after 'deploy:finalize_update', 'deploy:set_branch_info_file'
55
60
  end
56
61
 
57
62
  task :test_and_prepare_cap_env do
@@ -1,3 +1,3 @@
1
1
  module Caploy
2
- VERSION = "0.1.9"
2
+ VERSION = "0.1.10"
3
3
  end
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: caploy
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.9
5
+ version: 0.1.10
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Schiller
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-02-11 00:00:00.000000000 Z
12
+ date: 2013-02-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: gemcutter