From ee32c586a7e0800885d88d2e729a156823345e06 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Mon, 7 Sep 2020 22:22:56 +0800 Subject: [PATCH] fix: missing v prefix in tag name while publishing to gh --- src/pre-publish.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pre-publish.ts b/src/pre-publish.ts index 68500a3d..ac1de592 100644 --- a/src/pre-publish.ts +++ b/src/pre-publish.ts @@ -123,7 +123,7 @@ export class PrePublishCommand extends Command { } } else { pkgInfo = { - tag: version, + tag: `v${version}`, version, name: packageName, }