capistrano-git-copy 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6617525abf0aea3020a7df01b46a7a82248b6de9
4
- data.tar.gz: 2859baf3bc3710e8467dd9a6166576d6210447e7
3
+ metadata.gz: 49518f26b320e7bc5bf917264cd19c3b386c75ab
4
+ data.tar.gz: 6aea180c205916da185cbc642021a2d72e0e7a6a
5
5
  SHA512:
6
- metadata.gz: c043ff813afa4447ac211f95697cafc0bcd8ca3d50a354fc09636faee087be7689848e4c67174f80342d4b141c2506c6d478c7cc630677a35715dd74f8f57868
7
- data.tar.gz: ea51b13139494bd2e500d57d4b5bf2c4bc8825d4e3725429ff9f92a823b82f38a90d104b0b3fa349f7b16ab0d5857330d4ff0fe4204445c7a2551e6b3ceb664d
6
+ metadata.gz: 73f8e3e51de78e4029f76fe48f083aa7122a743d685e17025a4a9dcd124f7650a89f2cfff72c78a3635f00d69a222eca47294a9121f3a1c0437ba5a608dfc1be
7
+ data.tar.gz: 5eceecae6940c915762e8bfb5bbc92a77397d5056b26e4cce02c01a10f001de5adeaabe758c227cbfb1f36ffa414e01e59eaa1a42169c8819f3f58faed2eea2f
@@ -86,10 +86,10 @@ namespace :git_copy do
86
86
 
87
87
  # update repository
88
88
  system("cd #{fetch(:local_repo_path)} && git fetch origin && git fetch origin --tags")
89
- system("cd #{fetch(:local_repo_path)} && git pull >/dev/null 2>/dev/null")
90
89
 
91
90
  # reset repository
92
91
  system("cd #{fetch(:local_repo_path)} && git reset --hard #{fetch(:branch, 'master')} 2>/dev/null")
92
+ system("cd #{fetch(:local_repo_path)} && git reset --hard origin/#{fetch(:branch, 'master')} 2>/dev/null")
93
93
 
94
94
  # init and update submodules
95
95
  system("cd #{fetch(:local_repo_path)} && git submodule init && git submodule update")
@@ -2,7 +2,7 @@ module Capistrano
2
2
  module Git
3
3
  module Copy
4
4
  # gem version
5
- VERSION = '0.6.2'
5
+ VERSION = '0.6.3'
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-git-copy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Schwab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano