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 ee58177 commit d160f36Copy full SHA for d160f36
packages/retag/src/index.ts
@@ -147,7 +147,7 @@ export async function fetchTypesPackageVersionInfo(
147
);
148
}
149
const needsPublish = canPublish && pkg.contentHash !== latestVersionInfo.typesPublisherContentHash;
150
- return { version: needsPublish ? semver.inc(latestVersion!, "patch")! : `${pkg.major}.${pkg.minor}.0`, needsPublish };
+ return { version: needsPublish ? semver.inc(latestVersion!, "patch")! : latestVersion!, needsPublish };
151
152
153
function getHighestVersionForMajor(
0 commit comments