Add support for auxiliary message file (#81)

* Add support for external message loaded from the file specified in Config.MessageFile

* Enable the message file option in command line/env vars

* Update docs

* Add a testcase

* Fix YAML tag in DOCS.md from 'messageFile' to 'message_file', as is commonly used in Drone

* Remove unintended blank line

* Move .test.message file to tests/ folder
This commit is contained in:
Daniel M. Lambea
2019-10-22 16:44:50 +01:00
committed by Bo-Yi Wu
parent 75ffa6ef7b
commit f8f311ba1f
6 changed files with 114 additions and 39 deletions

4
tests/.test.message Normal file
View File

@ -0,0 +1,4 @@
Sample message loaded from file.
Commit msg: {{commit.message}}