feat(cli): add an option to specify the github release name (#1255)
This commit is contained in:
parent
0e75c59f0e
commit
3d2ca94392
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,8 @@ export class PrePublishCommand extends Command {
|
|||
|
||||
skipGHRelease = Option.Boolean('--skip-gh-release', false)
|
||||
|
||||
ghReleaseName?: string = Option.String('--gh-release-name')
|
||||
|
||||
async execute() {
|
||||
const {
|
||||
packageJsonPath,
|
||||
|
@ -183,6 +185,7 @@ export class PrePublishCommand extends Command {
|
|||
owner,
|
||||
repo,
|
||||
tag_name: pkgInfo.tag,
|
||||
name: this.ghReleaseName,
|
||||
prerelease:
|
||||
version.includes('alpha') ||
|
||||
version.includes('beta') ||
|
||||
|
|
Loading…
Reference in a new issue