This commit is contained in:
erik 2023-02-08 11:42:46 +01:00
parent 691b17dc56
commit 09d08d6e43

View file

@ -39,7 +39,7 @@ class Version():
def increment(self, level: ReleaseLevel): def increment(self, level: ReleaseLevel):
match level: match level:
case ReleaseLevel.SNAPSHOT: case ReleaseLevel.SNAPSHOT:
if "-SNAPSHOT" not in self.version if "-SNAPSHOT" not in self.version:
self.version = self.version + "-SNAPSHOT" self.version = self.version + "-SNAPSHOT"
case ReleaseLevel.PATCH: case ReleaseLevel.PATCH:
pass pass