mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-06-13 21:07:00 -07:00
Merge branch 'main' into mk-bundling-no-npmrc
This commit is contained in:
@@ -424,7 +424,13 @@ export function getVersion(options = {}) {
|
||||
}
|
||||
break;
|
||||
case 'promote-nightly':
|
||||
versionData = promoteNightlyVersion();
|
||||
versionData = promoteNightlyVersion({ args });
|
||||
// A promoted nightly version is still a nightly, so we should check for conflicts.
|
||||
if (doesVersionExist({ args, version: versionData.releaseVersion })) {
|
||||
throw new Error(
|
||||
`Version conflict! Promoted nightly version ${versionData.releaseVersion} already exists.`,
|
||||
);
|
||||
}
|
||||
break;
|
||||
case 'stable':
|
||||
versionData = getStableVersion(args);
|
||||
|
||||
+1
-1
@@ -142,7 +142,7 @@ export function setupLinters() {
|
||||
|
||||
export function runESLint() {
|
||||
console.log('\nRunning ESLint...');
|
||||
if (!runCommand('npm run lint:ci')) {
|
||||
if (!runCommand('npm run lint')) {
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user