Skip to content

Commit

Permalink
#926 Fix Conan package reference
Browse files Browse the repository at this point in the history
- Package channel should be changed automatically when
  matching the stable branch pattern
- Update Bintray upload address

Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries authored and horenmar committed Nov 28, 2018
1 parent 18ff347 commit 4902cd7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .conan/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def upload(self):
not match the stable pattern. Otherwise it will upload to stable
channel.
"""
return os.getenv("CONAN_UPLOAD", "https://api.bintray.com/conan/horenmar/Catch2")
return os.getenv("CONAN_UPLOAD", "https://api.bintray.com/conan/catchorg/Catch2")

@property
def upload_only_when_stable(self):
Expand All @@ -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/{}@{}/{}".format(self._version, self.username, self.channel))
return os.getenv("CONAN_REFERENCE", "Catch2/{}".format(self._version))

@property
def channel(self):
Expand Down

0 comments on commit 4902cd7

Please sign in to comment.