mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-21 22:10:39 +00:00
docs: add validate commit message on readme
This commit is contained in:
parent
67cd90c762
commit
de703f91ce
11
README.md
11
README.md
@ -13,7 +13,7 @@ download the latest release and add the binary on your path
|
||||
you can config using the environment variables
|
||||
|
||||
| Variable | description | default |
|
||||
| --------- | ----------| ----------|
|
||||
| ------------------------------ | ---------------------------------------------------------------- | ------------------------------------------------------------ |
|
||||
| MAJOR_VERSION_TYPES | types used to bump major version | |
|
||||
| MINOR_VERSION_TYPES | types used to bump minor version | feat |
|
||||
| PATCH_VERSION_TYPES | types used to bump patch version | build,ci,docs,fix,perf,refactor,style,test |
|
||||
@ -22,6 +22,8 @@ you can config using the environment variables
|
||||
| ISSUEID_PREFIXES | list of prefixes that will be used to identify an issue id | jira:,JIRA:,Jira: |
|
||||
| TAG_PATTERN | tag version pattern | %d.%d.%d |
|
||||
| RELEASE_NOTES_TAGS | release notes headers for each visible type | fix:Bug Fixes,feat:Features |
|
||||
| VALIDATE_MESSAGE_SKIP_BRANCHES | ignore branches from this list on validate commit message | master,develop |
|
||||
| COMMIT_MESSAGE_TYPES | list of valid commit types for commit message | build,ci,chore,docs,feat,fix,perf,refactor,revert,style,test |
|
||||
|
||||
### Running
|
||||
|
||||
@ -56,13 +58,14 @@ git-sv rn -h
|
||||
##### Available commands
|
||||
|
||||
| Variable | description | has options |
|
||||
| --------- | ---------- | :----------: |
|
||||
| ---------------------------- | ------------------------------------------------------ | :----------------: |
|
||||
| current-version, cv | get last released version from git | :x: |
|
||||
| next-version, nv | generate the next version based on git commit messages | :x: |
|
||||
| commit-log, cl | list all commit logs since last version as jsons | :heavy_check_mark: |
|
||||
| release-notes, rn | generate release notes | :heavy_check_mark: |
|
||||
| changelog, cgl | generate changelog | :heavy_check_mark: |
|
||||
| tag, tg | generate tag with version based on git commit messages | :x: |
|
||||
| validate-commit-message, vcm | use as prepare-commit-message hook to validate message | :heavy_check_mark: |
|
||||
| help, h | Shows a list of commands or help for one command | :x: |
|
||||
|
||||
## Development
|
||||
@ -78,7 +81,7 @@ make
|
||||
#### Make configs
|
||||
|
||||
| Variable | description |
|
||||
| --------- | ----------|
|
||||
| ---------- | ---------------------- |
|
||||
| BUILDOS | build OS |
|
||||
| BUILDARCH | build arch |
|
||||
| ECHOFLAGS | flags used on echo |
|
||||
@ -86,7 +89,7 @@ make
|
||||
| BUILDFLAGS | flags used on build |
|
||||
|
||||
| Parameters | description |
|
||||
| --------- | ----------|
|
||||
| ---------- | ----------------------------------- |
|
||||
| args | parameters that will be used on run |
|
||||
|
||||
```bash
|
||||
|
Loading…
Reference in New Issue
Block a user