Skip to content

Commit

Permalink
Update update_script.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
kzhuklinets authored Aug 6, 2024
1 parent cbcdf11 commit 5b5870e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions updater/bin/update_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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 #
##############################
Expand Down

0 comments on commit 5b5870e

Please sign in to comment.