diff --git a/updater/bin/update_script.rb b/updater/bin/update_script.rb index 2909c69c..6fad4b81 100644 --- a/updater/bin/update_script.rb +++ b/updater/bin/update_script.rb @@ -537,6 +537,13 @@ def show_diff(original_file, updated_file) files.each { |f| puts " - #{f.path}" } $options[:repo_contents_path] ||= File.expand_path(File.join("tmp", $repo_name.split("/"))) puts "$options[:repo_contents_path] = #{$options[:repo_contents_path]}" + + https://cns-ados-20.cns.local/tfs/CNS%20Connect/Internal%20Libraries%20and%20Tools/_apis/git/repositories/Internal%20Libraries + +$repo_api_query="/&versionDescriptor[versionType]=branch&versionDescriptor[version]=#{$options[:branch]}&$format=zip&download=true" +$repo_api_path = "#{$options[:azure_organization]}/#{$options[:azure_project]}/_apis/git/repositories/#{$options[:azure_repository]}/items?#{$repo_api_query}" +url = $api_endpoint + $repo_name + "/items?path=/&versionDescriptor[versionType]=branch&versionDescriptor[version]=#{branch}&$format=zip&download=true"" +puts "url = #{url}" ############################## # Parse the dependency files # ##############################