Compare commits

...

3 commits

Author SHA1 Message Date
ansgarz
967aeb325a bump version to: 1.8.13-dev 2024-01-26 14:32:42 +01:00
ansgarz
e6ebb0f9f4 release: 1.8.12 2024-01-26 14:32:42 +01:00
ansgarz
67d5ddbae9 release: 1.8.11 2024-01-26 14:29:45 +01:00
4 changed files with 23 additions and 10 deletions

View file

@ -3,7 +3,7 @@ plugins {
}
version = "1.8.11-SNAPSHOT"
version = "1.8.13-SNAPSHOT"
group = "org.domaindrivenarchitecture.buildtest"

View file

@ -7,11 +7,20 @@ name = "buildtest"
MODULE = "release"
PROJECT_ROOT_PATH = "."
version = "1.8.11-dev"
version = "1.8.13-dev"
@init(environments=["local"])
def initialize1(project):
"""
to avoid prompt for gopass; ONLY to be used for local tasks
usage: with option "-E local" , e.g. "pyb -E local patch_local"
"""
os.environ["RELEASE_ARTIFACT_TOKEN"] = "dummy" # avoids prompt for RELEASE_ARTIFACT_TOKEN
@init
def initialize(project):
def initialize2(project):
input = {
"name": name,
"module": MODULE,
@ -28,7 +37,6 @@ def initialize(project):
}
project.build_depends_on("ddadevops>=4.10.7")
os.environ["RELEASE_ARTIFACT_TOKEN"] = "dummy"
build = ReleaseMixin(project, input)
build.initialize_build_dir()
@ -37,14 +45,19 @@ def initialize(project):
def patch(project):
"""
updates version to next patch level, creates a tag, creates new SNAPSHOT version,
commits primary build file (build.gradle) and pushes to remote
commits build files (primary and secondary) and pushes to remote
"""
linttest(project, "PATCH")
release(project)
@task
def increase_version_number(project):
def patch_local(project):
"""
updates version to next patch level,
commits build files (primary and secondary), DOES NOT push to remote
"""
linttest(project, "PATCH")
prepare(project)
@ -52,7 +65,7 @@ def increase_version_number(project):
def minor(project):
"""
updates version to next minor level, creates a tag, creates new SNAPSHOT version,
commits primary build file (build.gradle) and pushes to remote
commits build files (primary and secondary) and pushes to remote
"""
linttest(project, "MINOR")
release(project)
@ -62,7 +75,7 @@ def minor(project):
def major(project):
"""
updates version to next major level, creates a tag, creates new SNAPSHOT version,
commits primary build file (build.gradle) and pushes to remote
commits build files (primary and secondary) and pushes to remote
"""
linttest(project, "MAJOR")
release(project)

View file

@ -33,7 +33,7 @@ default_task = "dev"
name = "ddadevops"
MODULE = "not-used"
PROJECT_ROOT_PATH = "."
version = "1.8.11-dev"
version = "1.8.13-dev"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]

View file

@ -2,7 +2,7 @@
"name": "c4k-jira",
"description": "Generate c4k yaml for a jira deployment.",
"author": "meissa GmbH",
"version": "1.8.11-SNAPSHOT",
"version": "1.8.13-SNAPSHOT",
"homepage": "https://gitlab.com/domaindrivenarchitecture/c4k-jira#readme",
"repository": "https://www.npmjs.com/package/c4k-jira",
"license": "APACHE2",