From 0fabbf455645bef96e5b978f95e80412a665eb43 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 5 Oct 2017 13:42:25 -0500 Subject: [PATCH] Always build releasenotes from master reno wants to operate on master. Lucky for reno - we have that. Change-Id: Ibc8e181b8e0f6fe920b544ea996007519c741254 --- roles/build-releasenotes/tasks/main.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/build-releasenotes/tasks/main.yaml b/roles/build-releasenotes/tasks/main.yaml index 8505e09d..d2f139a5 100644 --- a/roles/build-releasenotes/tasks/main.yaml +++ b/roles/build-releasenotes/tasks/main.yaml @@ -1,3 +1,9 @@ +# reno always runs on master, even if there was a commit from another branch +- name: Switch to master branch + command: git checkout master + args: + chdir: '{{ zuul_work_dir }}' + # TODO(mordred) Put the translations logic into a sphinx plugin? - name: Check if translations exist for release notes stat: