Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview / verification #79

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
.scriptName('release')
.command(
'prepare',
`Edits the package.json and changelog files to prepare for release.`,
`Edits the package.json and changelog files to prepare for release. This generates the .release-plan.json file.`,
(yargs) =>
fromStdin(yargs).option('singlePackage', {
type: 'string',
Expand All @@ -31,6 +31,12 @@
process.stdout.write(`\nSuccessfully prepared released\n`);
},
)
.command(
'apply-release-plan',
'Applies the .release-plan.json file across your repo. This behavior is included in prepare, but this command is useful when manually editing the .release-plan, and you want to update the package.jsons and CHANGELOG.',
(yargs) => {},

Check failure on line 37 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Lint

'yargs' is declared but its value is never read.

Check failure on line 37 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Test

'yargs' is declared but its value is never read.
async function (opts) {},

Check failure on line 38 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Lint

'opts' is declared but its value is never read.

Check failure on line 38 in src/cli.ts

View workflow job for this annotation

GitHub Actions / Test

'opts' is declared but its value is never read.
)
.command(
'publish',
`Publishes an already-prepared released by tagging, pushing tags, creating GitHub release, and publishing to NPM.`,
Expand Down
Loading