oneblackbear-obbistrano 1.0.24 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
@@ -120,17 +120,17 @@ Capistrano::Configuration.instance(:must_exist).load do
120
120
  task :cms_deploy do
121
121
  logger.level = -1
122
122
  begin
123
- run "ls plugins/cms/.git"
123
+ run "ls #{deploy_to}/plugins/cms/.git"
124
124
  rescue
125
- run "mkdir -p plugins/cms"
126
- run "cd plugins/cms && git init"
127
- run "cd plugins/cms && git remote add origin git://github.com:phpwax/wildfire.git"
125
+ run "mkdir -p #{deploy_to}/plugins/cms"
126
+ run "cd #{deploy_to}/plugins/cms && git init"
127
+ run "cd #{deploy_to}/plugins/cms && git remote add origin git://github.com:phpwax/wildfire.git"
128
128
  end
129
- run "cd plugins/cms && git fetch"
129
+ run "cd #{deploy_to}/plugins/cms && git fetch"
130
130
  begin
131
- run "cd plugins/cms && git checkout -b #{cms} origin/#{cms}"
131
+ run "cd #{deploy_to}/plugins/cms && git checkout -b #{cms} origin/#{cms}"
132
132
  rescue
133
- run "cd plugins/cms && git checkout #{cms}"
133
+ run "cd #{deploy_to}/plugins/cms && git checkout #{cms}"
134
134
  end
135
135
  logger.level = 3
136
136
  logger.info "Wildfire CMS has been updated on branch #{cms}"
@@ -141,15 +141,15 @@ Capistrano::Configuration.instance(:must_exist).load do
141
141
  begin
142
142
  run "ls wax/.git"
143
143
  rescue
144
- run "mkdir wax"
145
- run "cd wax && git init"
146
- run "cd wax && git remote add origin git://github.com/phpwax/phpwax.git"
144
+ run "mkdir #{deploy_to}/wax"
145
+ run "cd #{deploy_to}/wax && git init"
146
+ run "cd #{deploy_to}/wax && git remote add origin git://github.com/phpwax/phpwax.git"
147
147
  end
148
- run "cd wax && git fetch"
148
+ run "cd #{deploy_to}/wax && git fetch"
149
149
  begin
150
- run "cd wax && git checkout -b #{phpwax} origin/#{phpwax}"
150
+ run "cd #{deploy_to}/wax && git checkout -b #{phpwax} origin/#{phpwax}"
151
151
  rescue
152
- run "cd wax && git checkout #{phpwax}"
152
+ run "cd #{deploy_to}/wax && git checkout #{phpwax}"
153
153
  end
154
154
  logger.level = 3
155
155
  logger.info "PHP Wax has been updated on branch #{phpwax}"
data/obbistrano.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.0.24"
5
+ s.version = "1.0.26"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneblackbear-obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.24
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley