Skip to content

Commit

Permalink
Fix setActiveVersion script for unversion deployment of release with …
Browse files Browse the repository at this point in the history
…a pre release tag (#1719)
  • Loading branch information
MSNev committed Nov 19, 2021
1 parent ac88b7b commit 3c5ee41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/publish/AzureStorageHelper/AzureStorageHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ Function SetActiveVersion(
}

if ($setUnversioned -eq $true) {
$unVerName = "$($version.path)$($version.prefix)$($preRel)$($version.ext)" -Replace "\.\.", "."
$unVerName = "$($version.path)$($version.prefix)$($preRel)$($version.ext)" -Replace "\.\.", "." -Replace "\.-", "."
CopyBlob $blobContext $stagedBlob $destContext $unVerName
}

Expand Down

0 comments on commit 3c5ee41

Please sign in to comment.