From: <th...@ke...> - 2009-02-19 20:31:15
|
Module: common Branch: master Commit: a2418d26189ed8d22a78b78859c1e97ffb058cbf URL: http://cgit.freedesktop.org/gstreamer/common/commit/?id=a2418d26189ed8d22a78b78859c1e97ffb058cbf Author: Jan Schmidt <th...@no...> Date: Thu Feb 19 20:29:22 2009 +0000 Recognise tags with and without dereferences when generating ChangeLog Recognise tag dereferences or the tag commits themselves for labelling releases into the ChangeLog. --- gen-changelog.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gen-changelog.py b/gen-changelog.py index cd139a7..b607ca2 100644 --- a/gen-changelog.py +++ b/gen-changelog.py @@ -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) |