capistrano-scm-gitcopy 0.1.4 → 0.1.5
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/README.md +7 -0
- data/capistrano-scm-gitcopy.gemspec +1 -1
- data/lib/capistrano/gitcopy.rb +1 -1
- data/lib/capistrano/tasks/gitcopy.rake +6 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 46c3f380ff775b3fb7e0f68034754158b456efa1
|
|
4
|
+
data.tar.gz: c7165a5dee4b317f68e533638bdb81d5269861a5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 02c18c7bb8c51d0f311b62a7899aafb1543fac9ae6e25fb34f0ae8b64fa1f190ebf8fd16a35257a7139b2eec279d09e1bac5155b0ecee8523929a6fac83b7a88
|
|
7
|
+
data.tar.gz: a837bea065b94977368360075a194cfb7157e4102f9051ed4af1f7f421343601c20843ff96f855dcec2566f393b880b414aed65d881d43abc580a2b46e828ee3
|
data/README.md
CHANGED
|
@@ -9,6 +9,13 @@ Thank wercker so much.
|
|
|
9
9
|
|
|
10
10
|
This will make Capistrano tar the a specific git branch, upload it to the server(s) and then extract it in the release directory.
|
|
11
11
|
|
|
12
|
+
Release notes
|
|
13
|
+
============
|
|
14
|
+
0.1.4
|
|
15
|
+
- Tidy up
|
|
16
|
+
- New local tmp folder (/tmp/application-name/timestamp) so you can deploy without worry about clearup
|
|
17
|
+
- Remove incorrect README content
|
|
18
|
+
|
|
12
19
|
Requirements
|
|
13
20
|
============
|
|
14
21
|
|
data/lib/capistrano/gitcopy.rb
CHANGED
|
@@ -47,7 +47,7 @@ class Capistrano::GitCopy < Capistrano::SCM
|
|
|
47
47
|
end
|
|
48
48
|
|
|
49
49
|
def remote_tarfile
|
|
50
|
-
"#{fetch(:tmp_dir)}/#{fetch(:application)}-#{fetch(:current_revision).strip}.tar.gz"
|
|
50
|
+
"#{fetch(:tmp_dir_remote, fetch(:tmp_dir))}/#{fetch(:application)}-#{fetch(:current_revision).strip}.tar.gz"
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
def release
|
|
@@ -95,9 +95,13 @@ namespace :gitcopy do
|
|
|
95
95
|
|
|
96
96
|
desc 'Determine the revision that will be deployed'
|
|
97
97
|
task :set_current_revision do
|
|
98
|
+
local_path = fetch(:local_path)
|
|
99
|
+
|
|
98
100
|
run_locally do
|
|
99
|
-
|
|
100
|
-
|
|
101
|
+
within local_path do
|
|
102
|
+
with fetch(:git_environmental_variables) do
|
|
103
|
+
set :current_revision, strategy.fetch_revision
|
|
104
|
+
end
|
|
101
105
|
end
|
|
102
106
|
end
|
|
103
107
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-scm-gitcopy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jack Wu
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2016-
|
|
12
|
+
date: 2016-09-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
version: '0'
|
|
92
92
|
requirements: []
|
|
93
93
|
rubyforge_project:
|
|
94
|
-
rubygems_version: 2.
|
|
94
|
+
rubygems_version: 2.5.1
|
|
95
95
|
signing_key:
|
|
96
96
|
specification_version: 4
|
|
97
97
|
summary: Gitcopy strategy for capistrano 3.x
|