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 +4 -4
- data/lib/capistrano/git/copy/tasks/deploy.cap +1 -1
- data/lib/capistrano/git/copy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49518f26b320e7bc5bf917264cd19c3b386c75ab
|
4
|
+
data.tar.gz: 6aea180c205916da185cbc642021a2d72e0e7a6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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")
|
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.
|
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-
|
11
|
+
date: 2015-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|