Skip to content

Commit

Permalink
catchorg#926 Update Conan channel name
Browse files Browse the repository at this point in the history
- Set reference channel based on Conan channel var

Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Nov 16, 2018
1 parent dabef3e commit 6042bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .conan/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def stable_branch_pattern(self):
def reference(self):
""" Read project version from branch create Conan referece
"""
return os.getenv("CONAN_REFERENCE", "Catch2/{}@{}/stable".format(self._version, self.username))
return os.getenv("CONAN_REFERENCE", "Catch2/{}@{}/{}".format(self._version, self.username, self.channel))

@property
def channel(self):
Expand Down

0 comments on commit 6042bfe

Please sign in to comment.