diff --git a/packages/taro-cli/src/presets/commands/update.ts b/packages/taro-cli/src/presets/commands/update.ts index 2ffd766f4f01..4a472f6d6383 100644 --- a/packages/taro-cli/src/presets/commands/update.ts +++ b/packages/taro-cli/src/presets/commands/update.ts @@ -36,7 +36,7 @@ export default (ctx: IPluginContext) => { } else { try { targetTaroVersion = await getLatestVersion(pkgName, { - version: 'next' + version: 'latest' }) } catch (e) { targetTaroVersion = await getLatestVersion(pkgName)