fix: missing v prefix in tag name while publishing to gh

This commit is contained in:
LongYinan 2020-09-07 22:22:56 +08:00
parent 91ccf6753a
commit ee32c586a7
No known key found for this signature in database
GPG key ID: C3666B7FC82ADAD7

View file

@ -123,7 +123,7 @@ export class PrePublishCommand extends Command {
}
} else {
pkgInfo = {
tag: version,
tag: `v${version}`,
version,
name: packageName,
}