Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 3866ea4

Browse files
authored
Merge pull request #5749 from ericstj/stablePackages
Fix Latest.txt update when all nupkgs stable
2 parents a7e5200 + 13ca963 commit 3866ea4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

UpdatePublishedVersions.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ foreach ($package in $packages)
123123

124124
if (!$prereleaseVersion)
125125
{
126-
throw "Could not find a Prerelease version in '$newPackages'"
126+
# value here is no longer needed, use "stable" to indicate that prerelease is no longer valid and a human will have to do the update to stable.
127+
$prereleaseVersion = "stable"
127128
}
128129

129130
$versionFilePath = "$versionsRepoPath/Latest.txt"

0 commit comments

Comments
 (0)