We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50877b9 commit a48d945Copy full SHA for a48d945
.changeset/light-peas-melt.md
@@ -0,0 +1,5 @@
1
+---
2
+"trigger.dev": patch
3
4
+
5
+Fix update command version range handling
packages/cli-v3/src/commands/update.ts
@@ -113,7 +113,13 @@ export async function updateTriggerPackages(
113
}
114
115
const isDowngrade = mismatches.some((dep) => {
116
- return semver.gt(dep.version, targetVersion);
+ const depMinVersion = semver.minVersion(dep.version);
117
118
+ if (!depMinVersion) {
119
+ return false;
120
+ }
121
122
+ return semver.gt(depMinVersion, targetVersion);
123
});
124
125
return {
0 commit comments