From 67d5ddbae9579862c804b429bc31face82774c7a Mon Sep 17 00:00:00 2001 From: ansgarz Date: Fri, 26 Jan 2024 14:29:45 +0100 Subject: [PATCH] release: 1.8.11 --- build.gradle | 2 +- build.py | 21 +++++++++++++++++---- build_to_test.py | 2 +- package.json | 2 +- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 0d7373d..5083a0c 100644 --- a/build.gradle +++ b/build.gradle @@ -3,7 +3,7 @@ plugins { } -version = "1.8.11-SNAPSHOT" +version = "1.8.11" group = "org.domaindrivenarchitecture.buildtest" diff --git a/build.py b/build.py index bb71cf5..4a59cc6 100644 --- a/build.py +++ b/build.py @@ -7,11 +7,20 @@ name = "buildtest" MODULE = "release" PROJECT_ROOT_PATH = "." -version = "1.8.11-dev" +version = "1.8.11" + + +@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() @@ -44,7 +52,12 @@ def patch(project): @task -def increase_version_number(project): +def patch_local(project): + """ + updates version to next patch level, + commits primary build file (build.gradle), DOES NOT push to remote + """ + linttest(project, "PATCH") prepare(project) diff --git a/build_to_test.py b/build_to_test.py index 8fcd792..90e9366 100644 --- a/build_to_test.py +++ b/build_to_test.py @@ -33,7 +33,7 @@ default_task = "dev" name = "ddadevops" MODULE = "not-used" PROJECT_ROOT_PATH = "." -version = "1.8.11-dev" +version = "1.8.11" summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud" description = __doc__ authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")] diff --git a/package.json b/package.json index 33093b6..81f0219 100644 --- a/package.json +++ b/package.json @@ -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.11", "homepage": "https://gitlab.com/domaindrivenarchitecture/c4k-jira#readme", "repository": "https://www.npmjs.com/package/c4k-jira", "license": "APACHE2",