Skip to content

Commit d160f36

Browse files
committed
Fix dist-tags
1 parent ee58177 commit d160f36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/retag/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export async function fetchTypesPackageVersionInfo(
147147
);
148148
}
149149
const needsPublish = canPublish && pkg.contentHash !== latestVersionInfo.typesPublisherContentHash;
150-
return { version: needsPublish ? semver.inc(latestVersion!, "patch")! : `${pkg.major}.${pkg.minor}.0`, needsPublish };
150+
return { version: needsPublish ? semver.inc(latestVersion!, "patch")! : latestVersion!, needsPublish };
151151
}
152152

153153
function getHighestVersionForMajor(

0 commit comments

Comments
 (0)