salesforce-deploy-tool 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sf +14 -1
- data/lib/salesforcedeploytool/app.rb +1 -0
- data/lib/salesforcedeploytool/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 09c82f0b0bbefab55926bbb9bdf242b19dad2d06
|
4
|
+
data.tar.gz: d3b6c70b566b8e58f01ce75f8fde8528d29ccc3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad5a7e31a42ef88cffc126a4988e042760c4d534b9b2da65cdb7d5b1e0d7896d132a4a036af33e7c0f51e8ed65ad53462c0ae7606990cf16a37f3967dc8a36ec
|
7
|
+
data.tar.gz: 0647599700d16ed60d039f9ae822c522d87c87f8735794719b24a72d89ab71a8d31c62baffca5ce2ce97e532892944e87ea27abd6831ae8daf899998625e4942
|
data/bin/sf
CHANGED
@@ -135,8 +135,8 @@ command :push do |c|
|
|
135
135
|
exit 1
|
136
136
|
end
|
137
137
|
config[:sandbox] = options.sandbox || sandbox
|
138
|
-
config[:debug] = options.debug.nil? ? false : true
|
139
138
|
config[:test] = options.test.nil? ? false : true
|
139
|
+
config[:debug] = options.debug.nil? ? false : true
|
140
140
|
|
141
141
|
# Parameter Normalization
|
142
142
|
config[:git_dir] = File.expand_path config[:git_dir]
|
@@ -157,8 +157,15 @@ command :push do |c|
|
|
157
157
|
# reference and only then SF will allow us to remove the field on the second
|
158
158
|
# push
|
159
159
|
begin
|
160
|
+
# Set version
|
160
161
|
sfdt.build_number = options.build_number if not options.build_number.nil?
|
161
162
|
sfdt.set_version
|
163
|
+
|
164
|
+
# Disable test deploy unless is an append. The test deploy will happen
|
165
|
+
# at the end
|
166
|
+
sfdt.test = false if ! options.append
|
167
|
+
|
168
|
+
# push
|
162
169
|
sfdt.push
|
163
170
|
ensure
|
164
171
|
sfdt.clean_version
|
@@ -191,8 +198,14 @@ command :push do |c|
|
|
191
198
|
|
192
199
|
# Destructive push
|
193
200
|
begin
|
201
|
+
# Set version
|
194
202
|
sfdt.build_number = options.build_number if not options.build_number.nil?
|
195
203
|
sfdt.set_version
|
204
|
+
|
205
|
+
# Enable test if option enabled
|
206
|
+
sfdt.test = options.test.nil? ? false : true
|
207
|
+
|
208
|
+
# Push
|
196
209
|
sfdt.push
|
197
210
|
ensure
|
198
211
|
sfdt.clean_version
|