chore: allow to publish without release
This commit is contained in:
parent
cd3b394c1b
commit
82a667504a
@ -169,7 +169,7 @@ const tasks = [
|
|||||||
task: [
|
task: [
|
||||||
{
|
{
|
||||||
filter: ({ published }) => !published,
|
filter: ({ published }) => !published,
|
||||||
task: async ({ published, prefix }) =>
|
task: async ({ prefix }) =>
|
||||||
inquirer.prompt([
|
inquirer.prompt([
|
||||||
{
|
{
|
||||||
name: 'release',
|
name: 'release',
|
||||||
@ -179,6 +179,18 @@ const tasks = [
|
|||||||
}
|
}
|
||||||
])
|
])
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
filter: ({ published }) => published,
|
||||||
|
task: async ({ prefix }) =>
|
||||||
|
inquirer.prompt([
|
||||||
|
{
|
||||||
|
name: 'release',
|
||||||
|
type: 'confirm',
|
||||||
|
default: false,
|
||||||
|
message: `${prefix}Want to cut a release?`
|
||||||
|
}
|
||||||
|
])
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: 'Type',
|
title: 'Type',
|
||||||
filter: ({ release }) => release,
|
filter: ({ release }) => release,
|
||||||
|
Loading…
Reference in New Issue
Block a user