From d997f56343ac70db621fd36593fa55b87b4eb975 Mon Sep 17 00:00:00 2001 From: Clare Macrae Date: Thu, 20 Feb 2020 10:40:10 +0000 Subject: [PATCH] e Add check that latest Conan is installed, as this is one of their requirements for creating a pull request. --- build/prepare_release.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/prepare_release.py b/build/prepare_release.py index 9473f6299..f5a7abae7 100644 --- a/build/prepare_release.py +++ b/build/prepare_release.py @@ -142,6 +142,11 @@ def check_conan_repo(self): assert (len(repo.index.diff(None)) == 0) # Modified assert (len(repo.index.diff("HEAD")) == 0) # Staged + run(["open", "https://github.com/conan-io/conan/releases"]) + run(["conan", "--version"]) + # TODO pip3 install --upgrade conan + check_step("you are running the latest Conan release") + def update_conan_recipe(self): self.check_conan_repo()