From 35e849783b3ae4a34a886cd07493ff5e86049136 Mon Sep 17 00:00:00 2001 From: ansgarz Date: Sat, 25 Nov 2023 12:04:32 +0100 Subject: [PATCH] replace gradle release task by pyb publish_release in gitlab ci --- .gitlab-ci.yml | 2 +- build.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a297c99..8a4eeab 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -121,7 +121,7 @@ release-to-meissa: stage: release allow_failure: true script: - - ./gradlew createReleaseAndUploadAssets + - pyb publish_release after_script: diff --git a/build.py b/build.py index 1adff4e..79c53ae 100644 --- a/build.py +++ b/build.py @@ -93,7 +93,8 @@ def package(project): @task -def publish_artifacts(project): +def publish_release(project): + """ creates a release in repo.meissa and uploads artifacts (jar-files and checksum files) """ build = get_devops_build(project) build.publish_artifacts()