Skip to content

Commit 90b5724

Browse files
ckairenweshaggard
andauthored
[smoke test] version correction for testing smoke test (Azure#48575)
* trim off beta version for smoke test * Update eng/scripts/smoketest/Get-Package-Version.ps1 Co-authored-by: Wes Haggard <[email protected]> * Update eng/scripts/smoketest/Get-Package-Version.ps1 Co-authored-by: Wes Haggard <[email protected]> * Update eng/scripts/smoketest/Get-Package-Version.ps1 Co-authored-by: Wes Haggard <[email protected]> * Update eng/scripts/smoketest/Get-Package-Version.ps1 Co-authored-by: Wes Haggard <[email protected]> --------- Co-authored-by: Wes Haggard <[email protected]>
1 parent 2bb2aac commit 90b5724

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eng/scripts/smoketest/Get-Package-Version.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function Get-SmokeTestPkgProperties
3030

3131
$azureCorePkgInfo = $newPackages.Where({ $_.Name -eq "Azure.Core"})
3232
$azureCoreVer = [AzureEngSemanticVersion]::ParseVersionString($azureCorePkgInfo.Version)
33-
$azureCoreVer.IsPreRelease = $false
33+
$azureCoreVer.PrereleaseLabel = ""
3434
$azureCoreVerBase = $azureCoreVer.ToString()
3535

3636
# Pick a version of core that is at least one day old but no older then one month old
@@ -55,7 +55,7 @@ function Get-SmokeTestPkgProperties
5555

5656
foreach ($pkg in $newPackages) {
5757
$pkgVersion = [AzureEngSemanticVersion]::ParseVersionString($pkg.Version)
58-
$pkgVersion.IsPreRelease = $false
58+
$pkgVersion.PrereleaseLabel = ""
5959
$pkgVersionBase = $pkgVersion.ToString()
6060

6161
$pkgVersionAlpha = "$pkgVersionBase-alpha.$azureCoreVerDateStr"

0 commit comments

Comments
 (0)