update-common: gst-omx wants an updated common module too
[platform/upstream/gst-common.git] / gen-changelog.py
index cd139a7..c79e7d3 100644 (file)
@@ -74,14 +74,14 @@ 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)
     for lin in p.stdout.readlines():
        match = reltagre.search (lin)
        if match:
-           (sha, maj, min, nano) = match.groups()  
+           (sha, maj, min, nano) = match.groups()
            release_refs[sha] = (maj, min, nano)
 
 def find_start_tag():