bin/sf in salesforce-deploy-tool-0.10.1 vs bin/sf in salesforce-deploy-tool-0.10.3
- old
+ new
@@ -36,9 +36,15 @@
config[:commit_hash_pattern] = ENV["COMMIT_HASH_PATTERN"] || config[:commit_hash_pattern]
config[:git_repo] = ENV["GIT_REPO"] || config[:git_repo]
config[:username] = ENV["USERNAME"] || config[:username]
config[:password] = ENV["PASSWORD"] || config[:password]
+# Normalize file paths:
+config[:git_dir] = File.expand_path config[:git_dir]
+config[:tmp_dir] = File.expand_path config[:tmp_dir]
+config[:version_file] = File.expand_path config[:version_file]
+
+# Relative ignore files
config[:deploy_ignore_files] = ENV["DEPLOY_IGNORE_FILES"].nil? ? config[:deploy_ignore_files] : ENV["DEPLOY_IGNORE_FILES"].split(',')
# Read sandbox environment
begin