From 0a42c95366815d0923ffcbc643d51ad00bb1dbb4 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Tue, 13 Sep 2022 07:34:45 +0200 Subject: [PATCH] Make generate-ansible-collection die on version mismatch. --- playbooks/build-ansible-collection/run.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/build-ansible-collection/run.yaml b/playbooks/build-ansible-collection/run.yaml index 8161d07..ff67ae7 100644 --- a/playbooks/build-ansible-collection/run.yaml +++ b/playbooks/build-ansible-collection/run.yaml @@ -15,7 +15,7 @@ - name: Generate version number for ansible collection args: chdir: "~/{{ item.src_dir }}" - shell: "if test -f 'galaxy.yml'; then ~/.local/bin/generate-ansible-collection; fi" + shell: "if test -f 'galaxy.yml'; then ~/.local/bin/generate-ansible-collection --for-release; fi" with_items: "{{ zuul.projects.values() | list }}" - name: Create a directory the zuul-output