diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 9e4b6f3e6484fc91ef03590c2b225922ef77094f..b51dfd4c6fff74ea103adfadfa05fd463d8bd445 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ include: - local: "/.gitlab/protobuf-generator.gitlab-ci.yml" + - local: "/.gitlab/protobuf-generator-local.gitlab-ci.yml" - project: "uis/devops/continuous-delivery/ci-templates" file: "/auto-devops/common-pipeline.yml" ref: v6.7.2 diff --git a/.gitlab/protobuf-generator-local.gitlab-ci.yml b/.gitlab/protobuf-generator-local.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..194ce96f9c1d88d17dbfb2ab4872ccc4d8cb1ee1 --- /dev/null +++ b/.gitlab/protobuf-generator-local.gitlab-ci.yml @@ -0,0 +1,7 @@ +# *REPOSITORY LOCAL* specialisation of the protobuf generator templates. + +# Set rules for when we publish protobuf client packages. +.protobuf:publish:base: + rules: + # We publish packages for all commits tagged with what looks like a version number. + - if: $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.+[0-9]+.*/