-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: simplify --tag-format flag
- Loading branch information
1 parent
259864c
commit 67d28b4
Showing
4 changed files
with
13 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ CLI flag options: | |
--ignore-packages Packages list to be ignored on bumping process (append to the ones that already exist at package.json workspaces) | ||
--deps.bump Define deps version updating rule. Allowed: override, satisfy, inherit. | ||
--deps.release Define release type for dependent package if any of its deps changes. Supported values: patch, minor, major, inherit. | ||
--tag-version-format Format to use for the version number applied to tag names. Default: "@${version}" generates "[email protected]" | ||
--tag-format Format to use for creating tag names. Should include "name" and "version" vars. Default: "${name}@${version}" generates "[email protected]" | ||
--help Help info. | ||
|
||
Examples | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ const cli = meow( | |
--deps.bump Define deps version updating rule. Allowed: override, satisfy, inherit. | ||
--deps.release Define release type for dependent package if any of its deps changes. Supported values: patch, minor, major, inherit. | ||
--ignore-packages Packages' list to be ignored on bumping process | ||
--tag-version-format Format to use for the version number applied to tag names. Default: "@\${version}" generates "[email protected]" | ||
--tag-format Format to use for creating tag names. Should include "name" and "version" vars. Default: "\${name}@\${version}" generates "[email protected]" | ||
--help Help info. | ||
Examples | ||
|
@@ -50,9 +50,9 @@ const cli = meow( | |
ignorePackages: { | ||
type: "string", | ||
}, | ||
tagVersionFormat: { | ||
tagFormat: { | ||
type: "string", | ||
default: "@${version}", | ||
default: "${name}@${version}", | ||
}, | ||
dryRun: { | ||
type: "boolean", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters