Unbundling-version-from-git
Unbundling version from git Gbp-Pq: Name Unbundling-version-from-git.patch
This commit is contained in:
parent
43e65d4a6b
commit
5126fcfd4e
|
@ -218,7 +218,7 @@ def main(argv):
|
||||||
def GenerateLastCommitPosition(host, header):
|
def GenerateLastCommitPosition(host, header):
|
||||||
ROOT_TAG = 'initial-commit'
|
ROOT_TAG = 'initial-commit'
|
||||||
describe_output = subprocess.check_output(
|
describe_output = subprocess.check_output(
|
||||||
['git', 'describe', 'HEAD', '--abbrev=12', '--match', ROOT_TAG],
|
['debian/gn-describe'],
|
||||||
shell=host.is_windows(), cwd=REPO_ROOT)
|
shell=host.is_windows(), cwd=REPO_ROOT)
|
||||||
mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output.decode())
|
mo = re.match(ROOT_TAG + '-(\d+)-g([0-9a-f]+)', describe_output.decode())
|
||||||
if not mo:
|
if not mo:
|
||||||
|
|
Loading…
Reference in New Issue