Clean up
This commit is contained in:
parent
c137344932
commit
54c3917ec2
1 changed files with 0 additions and 20 deletions
20
version.py
20
version.py
|
@ -1,26 +1,6 @@
|
|||
from enum import Enum
|
||||
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():
|
||||
|
||||
def __init__(self, version_list, release_type):
|
||||
|
|
Loading…
Reference in a new issue