Compare commits
No commits in common. "4a4eb8d0e1eccb8c22ebcee720f2aa96299bd6e9" and "4d36fa0c0e962bcc5a53416a5182418264cc9c14" have entirely different histories.
4a4eb8d0e1
...
4d36fa0c0e
2 changed files with 2 additions and 17 deletions
|
@ -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
11
gitdch
|
@ -79,9 +79,7 @@ parser.add_argument(
|
||||||
'--version',
|
'--version',
|
||||||
type=str,
|
type=str,
|
||||||
dest='version',
|
dest='version',
|
||||||
help=(
|
help='Currrent version (default: autodetected using git describe --always --tags)'
|
||||||
'Currrent version (default: autodetected using git describe '
|
|
||||||
'--always --tags)')
|
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
|
@ -178,12 +176,7 @@ def add_version():
|
||||||
|
|
||||||
tag = None
|
tag = None
|
||||||
version_commit = None
|
version_commit = None
|
||||||
version = (
|
version = options.version or clean_deb_version(repo.git.describe('--always', '--tags'))
|
||||||
options.version or
|
|
||||||
clean_deb_version(
|
|
||||||
repo.git.describe('--always', '--tags')
|
|
||||||
)
|
|
||||||
)
|
|
||||||
messages = []
|
messages = []
|
||||||
for commit in repo.iter_commits():
|
for commit in repo.iter_commits():
|
||||||
if version_commit is None:
|
if version_commit is None:
|
||||||
|
|
Loading…
Reference in a new issue