Files
gerrit/tools/release_noter
Marco Miller 33700532b7 Replace unguaranteed file closing with 'with' statement in release_noter
As this will automatically close the open file no matter what; cf. [1].

[1] https://www.python.org/dev/peps/pep-0343

Change-Id: I1f8ce004763917014f23bb168fa63d954df56c13
2020-10-14 12:56:38 -04:00
..
2020-10-14 12:15:47 -04:00
2020-10-14 12:15:47 -04:00
2020-10-14 12:15:47 -04:00

Release Noter

Setup

The --deploy option is to be removed if Pipfile.lock is out of date.

pipenv install --dev
pipenv install --dev --deploy

Usage

pipenv run python release_noter.py -h

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

Coding

pipenv run black release_noter.py
pipenv run flake8 release_noter.py