mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-05-08 06:21:50 +02:00
FIXUP: Use longer tag description, so that the commit is always shown
This commit is contained in:
parent
7b1a09253c
commit
3bf7310812
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def main():
|
||||||
dirty_ident = secrets.token_hex(2)
|
dirty_ident = secrets.token_hex(2)
|
||||||
tag = (
|
tag = (
|
||||||
subprocess.check_output(
|
subprocess.check_output(
|
||||||
["git", "describe", "--first-parent", f"--dirty=-{dirty_ident}"],
|
["git", "describe", "--long", "--first-parent", f"--dirty=-{dirty_ident}"],
|
||||||
)
|
)
|
||||||
.decode()
|
.decode()
|
||||||
.strip()[1:] # remove the "v" prefix of the tag.
|
.strip()[1:] # remove the "v" prefix of the tag.
|
||||||
|
|
Loading…
Reference in a new issue