Skip to content

Commit

Permalink
e Add check that latest Conan is installed,
Browse files Browse the repository at this point in the history
as this is one of their requirements for creating
a pull request.
  • Loading branch information
claremacrae committed Feb 20, 2020
1 parent 7b33400 commit d997f56
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/prepare_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit d997f56

Please sign in to comment.