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

fix examples for release command #2332

Merged
merged 1 commit into from
Feb 22, 2023
Merged
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
11 changes: 6 additions & 5 deletions packages/cli/src/parse-args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,13 @@ export const commands: AutoCommand[] = [
prerelease,
],
examples: [
"{green $} auto release",
{
desc:
"This command can be used in isolation easily. This example will: tag the release version at 'to' and create a GitHub release changelog over the commits range",
example:
"{green $} auto release --from v0.20.1 --to HEAD --use-version v0.21.0",
desc: "Create a GitHub release",
example: "{green $} auto release",
},
{
desc: "Create a GitHub release using provided commit range and version",
example: "{green $} auto release --from v0.20.1 --to HEAD --use-version v0.21.0",
},
],
},
Expand Down