add more dependand build for test

This commit is contained in:
Michael Jerger 2023-07-07 16:03:09 +02:00
parent 8f760233a5
commit ba3ce7fe99
2 changed files with 14 additions and 10 deletions

View file

@ -9,7 +9,6 @@ PROJECT_ROOT_PATH = "."
@init
def initialize(project):
input = {
"name": name,
"module": MODULE,
@ -17,8 +16,8 @@ def initialize(project):
"project_root_path": PROJECT_ROOT_PATH,
"build_types": [],
"mixin_types": ["RELEASE"],
"release_primary_build_file": "project.clj",
"release_secondary_build_files": ["package.json"],
"release_primary_build_file": "build_to_test.py",
"release_secondary_build_files": ["package.json", "project.clj"],
}
project.build_depends_on("ddadevops>=4.0.0-dev")
@ -31,27 +30,33 @@ def initialize(project):
def patch(project):
build(project, "PATCH")
@task
def minor(project):
build(project, "MINOR")
@task
def major(project):
build(project, "MAJOR")
@task
def dev(project):
build(project, "NONE")
@task
def nothing(project):
pass
@task
def prepare_release(project):
build = get_devops_build(project)
build.prepare_release()
@task
def tag_bump_and_push_release(project):
build = get_devops_build(project)

View file

@ -40,4 +40,3 @@ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]
url = "https://repo.prod.meissa.de/meissa/dda-devops-build"
requires_python = ">=3.10" # CHECK IF NEW VERSION EXISTS
license = "Apache Software License"