Commit a2418d26 authored by Jan Schmidt's avatar Jan Schmidt

Recognise tags with and without dereferences when generating ChangeLog

Recognise tag dereferences or the tag commits themselves for labelling
releases into the ChangeLog.
parent f4a10533
......@@ -74,7 +74,7 @@ def output_commits():
def get_rel_tags():
# Populate the release_refs dict with the tags for previous releases
reltagre = re.compile("^([a-z0-9]{40}) refs\/tags\/RELEASE-([0-9]+)[-_.]([0-9]+)[-_.]([0-9]+)\^\{\}")
reltagre = re.compile("^([a-z0-9]{40}) refs\/tags\/RELEASE-([0-9]+)[-_.]([0-9]+)[-_.]([0-9]+)")
cmd = ['git', 'show-ref', '--tags', '--dereference']
p = subprocess.Popen(args=cmd, shell=False, stdout=subprocess.PIPE)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment