tree: 3cda2577e3c7c79277d6d527ff41e72a23045603 [path history] [tgz]
  1. .flake8
  2. .gitignore
  3. Makefile
  4. Pipfile
  5. Pipfile.lock
  6. README.md
  7. release_noter.md.template
  8. release_noter.py
tools/release_noter/README.md

Release Noter

Setup

make setup
make deploy
  • The deploy target may not succeed if Pipfile.lock is out of date.
    • The setup target can be used first in such a case.
  • Using make all will run the deploy target, among the other key targets.

Warning

The make clean target removes any previously made release_noter*.md file(s).

Running release_noter.py multiple times without cleaning creates the next N release_noter-N.md file, without overwriting the previous one(s).

Usage

make help
  • The resulting release_noter*.md file(s) can be edited then copied over to the homepage.
    • The markdown file name should be x.y.md, where x.y is the major release version.
    • Alternatively, an existing x.y.md can be edited with release_noter*.md snippets.

Testing

make test
make test COMMITS=100

This target will use the -l option, which takes more time as COMMITS increases.

Examples

pipenv run python release_noter.py v3.2.3..HEAD
pipenv run python release_noter.py v3.2.3..v3.3.0-rc0
pipenv run python release_noter.py v3.2.3..v3.3.0-rc0 -c
pipenv run python release_noter.py v3.2.3..v3.3.0-rc0 -l

Coding

make black
make flake