Compare commits

..

No commits in common. "4a4eb8d0e1eccb8c22ebcee720f2aa96299bd6e9" and "4d36fa0c0e962bcc5a53416a5182418264cc9c14" have entirely different histories.

2 changed files with 2 additions and 17 deletions

View file

@ -1,8 +0,0 @@
pipeline:
test:
image: debian
commands:
- apt update
- apt install pylint3 python3-flake8
- python3 -m flake8 gitdch
- python3 -m pylint gitdch

11
gitdch
View file

@ -79,9 +79,7 @@ parser.add_argument(
'--version',
type=str,
dest='version',
help=(
'Currrent version (default: autodetected using git describe '
'--always --tags)')
help='Currrent version (default: autodetected using git describe --always --tags)'
)
parser.add_argument(
@ -178,12 +176,7 @@ def add_version():
tag = None
version_commit = None
version = (
options.version or
clean_deb_version(
repo.git.describe('--always', '--tags')
)
)
version = options.version or clean_deb_version(repo.git.describe('--always', '--tags'))
messages = []
for commit in repo.iter_commits():
if version_commit is None: