You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 21, 2020. It is now read-only.
The script will check if the message(s) of the unreleased commit(s) (or the commit message passed as parameter) fulfill the rules of [Git Changelog Generator](https://github.com/kairops/dc-git-changelog-generator)
25
-
26
-
- If you pass a existent directory of the filesystem in the first parameter, the script expect to find a git repository and will check all the messages of all unreleased commit.
27
-
- If you pass a commit message as a text, the script will check it.
28
-
29
-
In both cases, it will return 0 if the message (or messages) fulfill the rules, and 1 in other case.
9
+
Execute the following:
10
+
11
+
- Using Bash, withinh your repository folder: `cd [git-repository-dir]; [/path/to/commit-validator]/entrypoint.sh`
12
+
- Using Docker: `docker run --rm -v [git-repository-dir]:/workspace kairops/dc-commit-validator .`
13
+
- Using docker-command-launcher:`kd git-changelog-generator [git-repository-dir]`
14
+
15
+
The script will check if the commit message(s) of your repository corresponding to the unreleased commit(s) fulfill the rules of [Git Changelog Generator](https://github.com/kairops/dc-git-changelog-generator)
16
+
17
+
It will return 0 if the the whole commit messages fulfill the rules, and 1 if at least one commit does not.
0 commit comments