This commit is contained in:
erik 2023-02-20 16:37:01 +01:00
parent c137344932
commit 54c3917ec2

View file

@ -1,26 +1,6 @@
from enum import Enum from enum import Enum
from file_handlers import FileHandler from file_handlers import FileHandler
def init_project():
# validate_values()
version = Version.from_file('build.gradle')
version.increment(ReleaseType.SNAPSHOT)
version.to_file()
print(version.get())
def prepare_release():
pass
def release_in_git():
pass
class ReleaseType(Enum):
MAJOR = 0
MINOR = 1
PATCH = 2
SNAPSHOT = 3
BUMP = None
class Version(): class Version():
def __init__(self, version_list, release_type): def __init__(self, version_list, release_type):