capistrano-rsync-bladrak 1.3.4 → 1.3.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/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/lib/capistrano/rsync/version.rb +1 -1
- data/lib/capistrano/rsync.rb +3 -3
- 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: 1536deeea1222c4c1e80b6d7fb60775be3c33aa6
|
|
4
|
+
data.tar.gz: f368b43b1368cad78a6fafee5e920db58a2ba1b0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 694f4e4d9f55e10f12041a29fe6c54521954d7fa9db1f63ae055e7b960de345a8b0c74ef09034f899faf6e48128af3b6d412b103b661a3d6f9a845adf2f066ea
|
|
7
|
+
data.tar.gz: 0a08d96b0f5326df904734983032ddf8c8c41f85a76fc6ffb74a807fefe5da9ba57bcf3d4447edd778ab3d99ea038eb3484f0eecac0522b16b73d2bca85796b3
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -137,7 +137,7 @@ rsync_checkout_tag | `false` | Is the ``:branch`` symbol containing a branch or
|
|
|
137
137
|
rsync_copy | `rsync --archive --acls --xattrs` | The command used to copy from remote cache to remote release
|
|
138
138
|
rsync_target_dir | `.` | The local directory within ``:rsync_stage`` to clone to & deploy (useful if you want to keep cache of several branches/tags for instance)
|
|
139
139
|
enable_git_submodules | `false` | Should we fetch submodules as well?
|
|
140
|
-
reset_git_submodules_before_update | `false` | Do a reset hard on submodules (in case you do modifications on working copies)?
|
|
140
|
+
reset_git_submodules_before_update | `false` | Do a reset hard and clean force on submodules (in case you do modifications on working copies)?
|
|
141
141
|
|
|
142
142
|
|
|
143
143
|
License
|
data/lib/capistrano/rsync.rb
CHANGED
|
@@ -53,7 +53,7 @@ end
|
|
|
53
53
|
rsync_target = lambda do
|
|
54
54
|
case fetch(:rsync_checkout)
|
|
55
55
|
when "tag"
|
|
56
|
-
target = "
|
|
56
|
+
target = "tags/#{fetch(:branch)}"
|
|
57
57
|
when "revision"
|
|
58
58
|
target = fetch(:branch)
|
|
59
59
|
else
|
|
@@ -64,7 +64,7 @@ end
|
|
|
64
64
|
|
|
65
65
|
rsync_branch = lambda do
|
|
66
66
|
if fetch(:rsync_checkout) == "tag"
|
|
67
|
-
branch = "
|
|
67
|
+
branch = "tags/#{fetch(:branch)}"
|
|
68
68
|
else
|
|
69
69
|
branch = fetch(:branch)
|
|
70
70
|
end
|
|
@@ -193,7 +193,7 @@ namespace :rsync do
|
|
|
193
193
|
|
|
194
194
|
if fetch(:enable_git_submodules)
|
|
195
195
|
if fetch(:reset_git_submodules_before_update)
|
|
196
|
-
execute :git, :submodule, :foreach, "git reset --hard HEAD"
|
|
196
|
+
execute :git, :submodule, :foreach, "'git reset --hard HEAD && git clean -qfd'"
|
|
197
197
|
end
|
|
198
198
|
|
|
199
199
|
execute :git, :submodule, :update
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-rsync-bladrak
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Hugo Briand, Andri Möll
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07
|
|
11
|
+
date: 2015-09-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|