8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NormalizeVersion
1 parent 2579c00 commit 8ff29ddCopy full SHA for 8ff29dd
tools/releaseBuild/azureDevOps/AzArtifactFeed/SyncGalleryToAzArtifacts.psm1
@@ -100,7 +100,6 @@ function SyncGalleryToAzArtifacts {
100
$savedPackages | Out-String | Write-Verbose -Verbose
101
102
foreach($package in $savedPackages) {
103
-
104
$pkgVersion = NormalizeVersion -version $package.Version
105
$foundMatch = $azArtifactsPackages | Where-Object { $_.Name -eq $package.Name -and (NormalizeVersion -version $_.Version) -eq $pkgVersion }
106
@@ -122,7 +121,7 @@ function SyncGalleryToAzArtifacts {
122
121
}
123
124
function NormalizeVersion {
125
- param ([Version] $version)
+ param ([string] $version)
126
127
$sVer = if ($version -match "(\d+.\d+.\d+).0") {
128
$matches[1]
0 commit comments