Skip to content

Commit

Permalink
Merge pull request #51 from ccin2p3/feature/no_gpg_check
Browse files Browse the repository at this point in the history
Enforce '--no-show-signature' on git-log timestamp retrieval
  • Loading branch information
mtkennerly committed Oct 14, 2022
2 parents 646acfa + 2a01794 commit 25ccf03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dunamai/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -815,7 +815,7 @@ def from_git(
return cls("0.0.0", distance=0, dirty=True, branch=branch)
commit = msg

code, msg = _run_cmd('git log -n 1 --pretty=format:"%cI"')
code, msg = _run_cmd('git log --no-show-signature -n 1 --pretty=format:"%cI"')
timestamp = _parse_git_timestamp_iso_strict(msg)

code, msg = _run_cmd("git describe --always --dirty")
Expand Down

0 comments on commit 25ccf03

Please sign in to comment.