diff --git a/src/pre-publish.ts b/src/pre-publish.ts index b2cbfb4d..68500a3d 100644 --- a/src/pre-publish.ts +++ b/src/pre-publish.ts @@ -123,7 +123,7 @@ export class PrePublishCommand extends Command { } } else { pkgInfo = { - tag: `v${headCommit}`, + tag: version, version, name: packageName, }