opnsense-ports/devel/osc/files/patch-osc_util_git__version.py
Franco Fichtner 46e9416615 */*: sync with upstream
Taken from: FreeBSD
2022-07-01 11:38:31 +02:00

18 lines
498 B
Python

--- osc/util/git_version.py.orig 2022-06-24 13:23:26 UTC
+++ osc/util/git_version.py
@@ -3,6 +3,7 @@ import subprocess
def get_git_archive_version():
+ return None
"""
Return version that is set by git during `git archive`.
The returned format is equal to what `git describe --tags` returns.
@@ -17,6 +18,7 @@ def get_git_archive_version():
def get_git_version():
+ return None
"""
Determine version from git repo by calling `git describe --tags`.
"""