Skip to content

Commit 64b47ec

Browse files
authored
Fixes the version used for set version classic (#4827)
1 parent fc0a563 commit 64b47ec

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.yarn/versions/1a212dd8.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
releases:
2+
"@yarnpkg/cli": patch
3+
"@yarnpkg/plugin-essentials": patch
4+
5+
declined:
6+
- "@yarnpkg/plugin-compat"
7+
- "@yarnpkg/plugin-constraints"
8+
- "@yarnpkg/plugin-dlx"
9+
- "@yarnpkg/plugin-init"
10+
- "@yarnpkg/plugin-interactive-tools"
11+
- "@yarnpkg/plugin-nm"
12+
- "@yarnpkg/plugin-npm-cli"
13+
- "@yarnpkg/plugin-pack"
14+
- "@yarnpkg/plugin-patch"
15+
- "@yarnpkg/plugin-pnp"
16+
- "@yarnpkg/plugin-pnpm"
17+
- "@yarnpkg/plugin-stage"
18+
- "@yarnpkg/plugin-typescript"
19+
- "@yarnpkg/plugin-version"
20+
- "@yarnpkg/plugin-workspace-tools"
21+
- "@yarnpkg/builder"
22+
- "@yarnpkg/core"
23+
- "@yarnpkg/doctor"

packages/plugin-essentials/sources/commands/set/version.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export default class SetVersionCommand extends BaseCommand {
108108
else if (this.version === `canary`)
109109
bundleRef = getRef(`https://repo.yarnpkg.com/{}/packages/yarnpkg-cli/bin/yarn.js`, await resolveTag(configuration, `canary`));
110110
else if (this.version === `classic`)
111-
bundleRef = {url: `https://nightly.yarnpkg.com/latest.js`, version: `classic`};
111+
bundleRef = {url: `https://classic.yarnpkg.com/latest.js`, version: `classic`};
112112
else if (this.version.match(/^https?:/))
113113
bundleRef = {url: this.version, version: `remote`};
114114
else if (this.version.match(/^\.{0,2}[\\/]/) || npath.isAbsolute(this.version))

0 commit comments

Comments
 (0)