Resolve "Rudimentary changelog checking"
Closes #1 (closed)
-
Added changelog checking. This checks whether a changelog entry exists for the current version. If not, a warning message is displayed informing you what to do and the process will exit with code 1 (error). Call with any of:
raver --changelog /path/to/changelog.rst
raver -c /path/to/changelog.rst
raver --changelog /path/to/changelog/
raver -c /path/to/changelog/
Beware that it checks for the local version, such that the changelog check may pass even though the version still needs bumping (reference check fails).
-
If given a directory, it will scan for files in the format
v0.0.0*
, where any suffix goes (star is a glob wildcard). -
If given a path, it will scan the lines of text contained for exactly and only
0.0.0
, e.g. without thev
and no prefixes and suffixes allowed.
-
-
Added version changelog checking to
make version
. -
Added version checking to CI/CD.