Skip to content

Commit d2613c0

Browse files
authored
Merge pull request microsoft#2386 from microsoft/weswigham-patch-1
Correct rc minor version in download script
2 parents 427b14c + 1fdb266 commit d2613c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sandbox/script/downloadReleases.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const go = async () => {
2222
const possibleBeta = `${latestStable.split(".")[0]}.${Number(latestStable.split(".")[1]) + 1}.0-beta`
2323
const addBeta = preReleases.data.versions.includes(possibleBeta)
2424

25-
const possibleRc = `${latestStable.split(".")[0]}.${Number(latestStable.split(".")[1]) + 1}.0-rc`
25+
const possibleRc = `${latestStable.split(".")[0]}.${Number(latestStable.split(".")[1]) + 1}.1-rc`
2626
const addRc = preReleases.data.versions.includes(possibleRc)
2727

2828
// Get the highest maj/min ignoring patch versions

0 commit comments

Comments
 (0)