salesforce-deploy-tool 1.0.2 → 1.0.3
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/bin/sf +1 -4
- 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: ebac6689830eab2da274c6389bb65580fba92876
|
|
4
|
+
data.tar.gz: 9a949b5e006ced376b50aff46bf5a2af155c1d4f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9aeb58de065efad092a41df237bd25419e3e37541faa7814213e2f077e04f3d11263f2fbafac86e1722233cdfa494054f767ff2470bce59690ac7c40fba8f4a
|
|
7
|
+
data.tar.gz: 266b7539af2136799f8bda73a4ef6a69f4114cec359a1a1343bceec87cb4dd386c50a7b586e68659a16bb210dc9f3930de1e72777a8b0bf349abf7c6dacc4cda
|
data/bin/sf
CHANGED
|
@@ -136,9 +136,8 @@ command :push do |c|
|
|
|
136
136
|
config_tmp = config.clone
|
|
137
137
|
config_tmp[:git_dir] = config_tmp[:tmp_dir]
|
|
138
138
|
FileUtils.rm_rf config_tmp[:git_dir] if File.exists? config_tmp[:git_dir]
|
|
139
|
+
FileUtils.cp_r config[:git_dir],config_tmp[:git_dir]
|
|
139
140
|
sfdt_tmp = SalesforceDeployTool::App.new config_tmp
|
|
140
|
-
sfdt_tmp.clone
|
|
141
|
-
sfdt_tmp.clean_git_dir
|
|
142
141
|
sfdt_tmp.pull "INFO: Pulling changes from #{config[:sandbox]} to temporary directory #{config[:tmp_dir]} to generate destructiveChanges.xml "
|
|
143
142
|
|
|
144
143
|
# Create destructiveChanges.xml
|
|
@@ -233,8 +232,6 @@ command :config do |c|
|
|
|
233
232
|
config[:password] = config_new[:password]
|
|
234
233
|
config[:sandbox] = sandbox
|
|
235
234
|
|
|
236
|
-
pp config
|
|
237
|
-
|
|
238
235
|
File.open(File.expand_path(SANDBOX_CONFIG_FILE),'w').write sandbox
|
|
239
236
|
File.open(File.expand_path(CONFIG_FILE),'w').write config_new.to_yaml
|
|
240
237
|
|