capistrano-simplegit 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/capistrano-simplegit.gemspec +1 -1
- data/lib/capistrano/tasks/simplegit.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9eb29fb1df81acff9d0f123d1a516c46c344223
|
4
|
+
data.tar.gz: 0843fe9e8913fce939718792ed0852ffa9e9269e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15ad10c62e6a648f5e7c359f9908379609f2c2a67482cfb153ebd773515adb7ed7d8463abd5a57693c87c1c4fa6e7fef599c51b9c3bff8a684b772288a516baf
|
7
|
+
data.tar.gz: 319c52e1a3e21600c624ce7b0b65a8706910d9565bd415964b73a1b612a137f277c9a52157d8220bd0e629b40bca91f149e6d9238a441483d3048656c09ad2d5
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |spec|
|
5
5
|
spec.name = 'capistrano-simplegit'
|
6
|
-
spec.version = '0.1.
|
6
|
+
spec.version = '0.1.1'
|
7
7
|
spec.authors = ['Ross Riley']
|
8
8
|
spec.email = ['riley.ross@gmail.com']
|
9
9
|
spec.description = %q{A simple Git Deploy Command for Capistrano 3.x}
|
@@ -17,7 +17,7 @@ namespace :simplegit do
|
|
17
17
|
|
18
18
|
within fetch(:simplegit_deploy) do
|
19
19
|
execute "cd #{fetch(:simplegit_deploy)} && git fetch"
|
20
|
-
if test
|
20
|
+
if test :git, :'show-branch', fetch(:simplegit_branch)
|
21
21
|
execute "git checkout #{fetch(:simplegit_branch)} ; git reset --hard origin/#{fetch(:simplegit_branch)}"
|
22
22
|
else
|
23
23
|
execute "git checkout -b #{fetch(:simplegit_branch)} origin/#{fetch(:simplegit_branch)}"
|