dda-devops-build/build.py
2023-02-16 14:21:27 +01:00

31 lines
No EOL
606 B
Python

from pybuilder.core import task, init
from ddadevops import *
from version import *
def main():
init_project()
@init
def initialize(project):
project.build_depends_on('ddadevops>=3.1.2')
# build = get_devops_build()
# build.init()
init_project()
@task
def release(project):
# build = get_devops_build(project)
# build.prepare_release() # mit config file
prepare_release()
# build()
# build.publish()
# build.release_in_git()
# release_in_git()
@task
def build(project):
build = get_devops_build(project)
# ToDo: Implement for project
main()