capistrano-git-copy 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/capistrano/git_copy/tasks/deploy.cap +1 -1
- data/lib/capistrano/git_copy/utility.rb +2 -3
- 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: 7aec6507f638bcb5e8ddf791bad63dde7e2f93b6
|
|
4
|
+
data.tar.gz: 1a39e03172e841a9fff5095b90d21441e8bd1b96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bf4b39c80f04bbf15ffe45d0537c5115067678e96f2492e4f91bd2dd7d9dcef9b59b646e8fbb069971af5dffd7709ef29dd1c6501a0915d4b306b2d5532f1c8d
|
|
7
|
+
data.tar.gz: b0796ae5712a0531d009a8ac53159d0589adc18355812d7af8d6c282b2065e517a7106d7094f0e5855df2df488f9ccb78992a46a0d8f55fc7240ea2c1a01d5bc
|
data/CHANGELOG.md
CHANGED
|
@@ -46,7 +46,7 @@ namespace :git_copy do
|
|
|
46
46
|
end
|
|
47
47
|
|
|
48
48
|
desc 'Determine the revision that will be deployed'
|
|
49
|
-
task :
|
|
49
|
+
task set_current_revision: :'git_copy:update' do
|
|
50
50
|
run_locally do
|
|
51
51
|
within git_copy_utility.repo_path do
|
|
52
52
|
set :current_revision, git_copy_utility.fetch_revision
|
|
@@ -73,7 +73,7 @@ module Capistrano
|
|
|
73
73
|
#
|
|
74
74
|
# @return void
|
|
75
75
|
def fetch_revision
|
|
76
|
-
capture(:git, 'rev-list', '--max-count=1', '--abbrev-commit',
|
|
76
|
+
capture(:git, 'rev-list', '--max-count=1', '--abbrev-commit', commit_hash).strip
|
|
77
77
|
end
|
|
78
78
|
|
|
79
79
|
# Cleanup repo cache
|
|
@@ -133,8 +133,7 @@ module Capistrano
|
|
|
133
133
|
end
|
|
134
134
|
|
|
135
135
|
def git(*args)
|
|
136
|
-
|
|
137
|
-
execute(*args)
|
|
136
|
+
execute(:git, *args)
|
|
138
137
|
end
|
|
139
138
|
|
|
140
139
|
def git_archive_all_bin
|
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: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
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-05-
|
|
11
|
+
date: 2015-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|