fix: read package version as tag name while publishing npm package
This commit is contained in:
parent
8440c6893a
commit
51f71fbd92
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ export class PrePublishCommand extends Command {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
pkgInfo = {
|
pkgInfo = {
|
||||||
tag: `v${headCommit}`,
|
tag: version,
|
||||||
version,
|
version,
|
||||||
name: packageName,
|
name: packageName,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue