From b38b408f199abbcfe6a660e5d8defc6bc51efd3b Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Tue, 6 Dec 2016 13:51:27 -0500 Subject: [PATCH] Updating release playbook to conditionally use submodules --- packaging/release/release.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packaging/release/release.yml b/packaging/release/release.yml index 66953e07db..7fcfbd83a0 100644 --- a/packaging/release/release.yml +++ b/packaging/release/release.yml @@ -31,6 +31,10 @@ # prompt: "Enter the release code name (only used if doing a final release)" # default: "" # private: no + - name: has_submodules + prompt: "Does this branch have git submodules?" + default: "yes" + private: no - name: is_final prompt: "Is this a final release (not a beta/rc)?" default: "no" @@ -113,6 +117,7 @@ with_items: - core - extras + when: has_submodules|bool - name: Update the VERSION file for the modules copy: @@ -121,6 +126,7 @@ with_items: - core - extras + when: has_submodules|bool - name: Add and commit the updated files for the core modules shell: @@ -129,6 +135,7 @@ with_items: - core - extras + when: has_submodules|bool - name: Add and commit the updated files for the main repo shell: @@ -160,6 +167,7 @@ with_items: - core - extras + when: has_submodules|bool - name: create the dist tar.gz command: @@ -189,6 +197,7 @@ with_items: - core - extras + when: has_submodules|bool - name: Push the updates and/or tag shell: