dust-deploy 0.10.1 → 0.10.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.
- data/changelog.md +6 -0
- data/lib/dust/recipes/cjdroute.rb +6 -0
- data/lib/dust/version.rb +1 -1
- metadata +3 -3
data/changelog.md
CHANGED
@@ -143,6 +143,12 @@ class Cjdroute< Recipe
|
|
143
143
|
return ::Dust.print_failed 'error cloning git repository' unless ret[:exit_code] == 0
|
144
144
|
end
|
145
145
|
|
146
|
+
# reset to the wanted commit if given
|
147
|
+
if @config['commit']
|
148
|
+
::Dust.print_msg "resetting to commit: #{@config['commit']}"
|
149
|
+
::Dust.print_result @node.exec("cd #{@config['build_dir']}; git reset --hard #{@config['commit']}")[:exit_code]
|
150
|
+
end
|
151
|
+
|
146
152
|
puts
|
147
153
|
true
|
148
154
|
end
|
data/lib/dust/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 10
|
8
|
-
-
|
9
|
-
version: 0.10.
|
8
|
+
- 2
|
9
|
+
version: 0.10.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- kris kechagia
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2012-04-
|
17
|
+
date: 2012-04-11 00:00:00 +02:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|