-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactoring common shared tools #1203
Refactoring common shared tools #1203
Conversation
@@ -93,8 +93,7 @@ function GetAdjustedReadmeContent($pkgInfo, $lang){ | |||
} | |||
|
|||
$apiUrl = "https://api.github.com/repos/$repoId" | |||
$pkgs = VerifyPackages -pkgRepository $Repository ` | |||
-artifactLocation $ArtifactLocation ` | |||
$pkgs = VerifyPackages -artifactLocation $ArtifactLocation ` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we clean-up the $Repository
variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is your plan to clean-up some of these unused variables we have as a parameter to this script like $Repository
?
664105f
to
647a9ca
Compare
/azp run azure-sdk-tools - sync - eng-common |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run azure-sdk-tools - sync - eng-common |
Azure Pipelines successfully started running 1 pipeline(s). |
The following pipelines have been queued for testing: |
The following pipelines have been queued for testing: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good but lets please do some test releases of the template packages to ensure these changes work.
… and create-tags-and-git-release.ps1
5182cc7
to
bf1a37d
Compare
The following pipelines have been queued for testing: |
Hello @azure-sdk! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Write-Host "Unrecognized Language: $language" | ||
exit(1) | ||
} | ||
function GetMetaData { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe @sima-zhu has also defined this function somewhere we should probably move it to one our helper scripts so we can share it.
Refactoring artifact-metadata-parsing.ps1, update-docs-metadata.ps1, and create-tags-and-git-release.ps1