]> git.agnieray.net Git - galette.git/commitdiff
Fix release script
authorJohan Cwiklinski <johan@x-tnd.be>
Tue, 16 Jan 2024 07:56:41 +0000 (08:56 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Fri, 2 Feb 2024 22:22:07 +0000 (23:22 +0100)
bin/release

index ac1918ef5b8bc9163f675cb918014e153f8475c4..412bb84236d10ce8844938e9a1e0bbb78f51d605 100755 (executable)
@@ -99,7 +99,7 @@ def get_latest_version():
     last = None
     for tagref in tagrefs:
         tag = tagref.tag
-        if valid_version(tag.tag):
+        if tag != None and valid_version(tag.tag):
             #last minor version is always the last one :)
             if last == None or tag.tag > last:
                 last = tag.tag