forked from versionize/versionize
-
Notifications
You must be signed in to change notification settings - Fork 0
0 ‐ CLI Options
Rémi CELLARD edited this page Nov 12, 2024
·
4 revisions
Valid documentation for the version v2.2.0
Indicate which takes precedence: the command line arguments or the .versionize file. Write details about args :
- Argument names
- Type of argument (bool, string, nothing, ...)
- Example :
-w <workspaceLocation>for-w "C:\Projets\MyProject\src" - Example :
--silent - Example :
--proj-name <PROJECT_CONFIG_NAME>for--proj-name EShopProject_LibZero,--proj-name EShopProject_LibOne
- Example :
- Default value
- (example of CLI usable)
- Name :
-w|--workingDir <WORKING_DIRECTORY> - Description : Directory containing projects to version
- Name :
--configDir <CONFIG_DIRECTORY> - Description : Directory containing the versionize configuration file
- Name :
--silent - Description : Suppress output to console
- Name :
-d|--dry-run - Description : Skip changing versions in projects, changelog generation and git commit
- Name :
-r|--release-as <VERSION> - Description : Specify the release version manually
- Name :
--skip-dirty - Description : Skip git dirty check
- Name :
--skip-commit - Description : Skip commit and git tag after updating changelog and incrementing the version
- Name :
--skip-tag - Description : Skip git tag after making release commit
- Name :
--skip-changelog - Description : Skip changelog generation
- Name :
--tag-only - Description : Only works with git tags, does not commit or modify the csproj file.
- Name :
-i|--ignore-insignificant-commits - Description : Do not bump the version if no significant commits (fix, feat or BREAKING) are found
- Name :
--exit-insignificant-commits - Description : Exits with a non zero exit code if no significant commits (fix, feat or BREAKING) are found
- Name :
--commit-suffix <SUFFIX> - Description : Suffix to be added to the end of the release commit message (e.g. [skip ci])
- Name :
-p|--pre-release <PRERELEASE_IDENTIFIER> - Description : Release as pre-release version with given pre release label.
- Name :
-a|--aggregate-pre-releases - Description : Include all pre-release commits in the changelog since the last full version.
- Name :
--first-parent-only-commits - Description : Ignore commits beyond the first parent.
- Name :
-s|--sign - Description : Sign the git commit and tag.
- Name :
--proj-name <PROJECT_NAME> - Description : Name of a project defined in the configuration file (for monorepos)
- Name :
--find-release-commit-via-message - Description : Use commit message instead of tag to find last release commit