Skip to content

Commit 0b5a0be

Browse files
committed
update CI deploy error
1 parent 74d1e61 commit 0b5a0be

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

packages/cli-v3/src/commands/update.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,15 @@ export async function updateTriggerPackages(
111111

112112
console.log(
113113
`ERROR: Version mismatch detected while running in CI. This won't end well. Aborting.
114-
115-
Please run the dev command locally and check that your CLI version matches the one printed below. Additionally, all \`@trigger.dev/*\` packages also need to match this version.
116-
117-
If your local CLI version doesn't match the one below, you may want to add the \`trigger.dev\` package to your dependencies. You will also have to update your workflow deploy command to \`npx trigger.dev deploy\` to ensure your pinned CLI version is used.
118-
119-
CLI version: ${cliVersion}
120-
121-
Current package versions that don't match the CLI:
122-
${versionMismatches.map((dep) => `- ${dep.name}@${dep.version}`).join("\n")}\n`
114+
115+
Please run the dev command locally and check that your CLI version matches the one printed below. Additionally, all \`@trigger.dev/*\` packages also need to match this version.
116+
117+
If your local CLI version doesn't match the one below, you may want to pin the CLI version in this CI step. To do that, just replace \`trigger.dev@beta\` with \`trigger.dev@<FULL_VERSION>\`, for example: \`npx trigger.dev@3.0.0-beta.17 deploy\`
118+
119+
CLI version: ${cliVersion}
120+
121+
Current package versions that don't match the CLI:
122+
${versionMismatches.map((dep) => `- ${dep.name}@${dep.version}`).join("\n")}\n`
123123
);
124124
process.exit(1);
125125
}

0 commit comments

Comments
 (0)