Skip to content

Commit

Permalink
Merge pull request #2332 from AndreyBozhko/fix-release-cmd
Browse files Browse the repository at this point in the history
fix examples for release command
  • Loading branch information
hipstersmoothie committed Feb 22, 2023
2 parents 128a7df + 449cc7c commit fc7da59
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions packages/cli/src/parse-args.ts
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

0 comments on commit fc7da59

Please sign in to comment.