adjust to tagging

merge-requests/2/head^2
jerger 2 years ago
parent 30cca781ce
commit a96966569d

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

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

Loading…
Cancel
Save