adjust to tagging

This commit is contained in:
jerger 2022-02-24 16:38:18 +01:00
parent 30cca781ce
commit a96966569d
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@ pypi-dev:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG !~ /^release-.*$/'
- if: '$CI_COMMIT_BRANCH == "main" && $CI_COMMIT_TAG !~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
script:
- pyb publish upload
@ -45,6 +45,6 @@ pypi-stable:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- if: '$CI_COMMIT_TAG =~ /^release-.*$/'
- if: '$CI_COMMIT_TAG =~ /^[0-9]+\.[0-9]+\.[0-9]+$/'
script:
- pyb -P version=${{ github.ref }} publish upload

View file

@ -28,7 +28,7 @@ use_plugin("python.distutils")
default_task = "publish"
name = "ddadevops"
version = "0.14.2-dev"
version = "0.14.3-dev"
summary = "tools to support builds combining gopass, terraform, dda-pallet, aws & hetzner-cloud"
description = __doc__
authors = [Author("meissa GmbH", "buero@meissa-gmbh.de")]