forked from farhoodlabs/paperclip
merge master into pap-1078-qol-fixes
Resolve the keyboard shortcut conflicts after [#2539](https://github.com/paperclipai/paperclip/pull/2539) and [#2540](https://github.com/paperclipai/paperclip/pull/2540), keep the release package rewrite working with cliVersion, and stabilize the provisioning timeout in the full suite. Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -123,11 +123,14 @@ function setVersion(version) {
|
||||
`.version("${version}")`,
|
||||
);
|
||||
|
||||
if (cliEntry === nextCliEntry) {
|
||||
throw new Error("failed to rewrite CLI version string in cli/src/index.ts");
|
||||
if (cliEntry !== nextCliEntry) {
|
||||
writeFileSync(cliEntryPath, nextCliEntry);
|
||||
return;
|
||||
}
|
||||
|
||||
writeFileSync(cliEntryPath, nextCliEntry);
|
||||
if (!cliEntry.includes(".version(cliVersion)")) {
|
||||
throw new Error("failed to rewrite CLI version string in cli/src/index.ts");
|
||||
}
|
||||
}
|
||||
|
||||
function listPackages() {
|
||||
|
||||
Reference in New Issue
Block a user