mina-git-submodules 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/lib/mina/git-submodules.rb +2 -1
- data/lib/mina/git-submodules/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: 0b2ac52742f57c61d138736f29881a8b9ac4288a
|
4
|
+
data.tar.gz: 19d699e6772f600d85ff9c5420741fca18094609
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1faf7d9af78abfec3216312a4fe16b4417ba36caa875a9dda1b243a03cef76522a23a8d16477673b50ac5d796cc403c9870549f57681423e0868697affdd4eec
|
7
|
+
data.tar.gz: f9bb15cbe58f80046d0d734ebd546bdbcc5aa2b3e87fc9065cc96465f613619d3559386ac7c64b6edc451af22ad60aec48228fef434c245ce14eba0a8986b0dd
|
data/lib/mina/git-submodules.rb
CHANGED
@@ -27,7 +27,7 @@ namespace :git do
|
|
27
27
|
echo "-----> Updating git submodules" &&
|
28
28
|
#{echo_cmd %[(cd "#{fetch(:deploy_to)}/scm" && git submodule init && git submodule sync && git submodule update --init --recursive)]} &&
|
29
29
|
echo "-----> Copying to release path (branch: '#{fetch(:branch)}')" &&
|
30
|
-
#{echo_cmd %[rsync -lrpt "#{fetch(:deploy_to)}/scm/" .]}
|
30
|
+
#{echo_cmd %[rsync -lrpt --exclude "*/.git/" "#{fetch(:deploy_to)}/scm/" .]}
|
31
31
|
}, quiet: true
|
32
32
|
end
|
33
33
|
|
@@ -39,6 +39,7 @@ namespace :git do
|
|
39
39
|
end
|
40
40
|
end
|
41
41
|
|
42
|
+
desc 'Removes the old git scm directory'
|
42
43
|
task :remove_cache do
|
43
44
|
comment "Removing git scm directory"
|
44
45
|
command %{rm -rf "#{fetch(:deploy_to)}/scm" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mina-git-submodules
|
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
|
- Cameron Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mina
|