Permalink
Browse files

Merge pull request #11 from uilianries/master

#1 Use dynamic project version from Travis branch
  • Loading branch information...
hanickadot committed Oct 8, 2018
2 parents 4fe4f0d + 6d3000f commit 329bba1590069b6bd24e50294f12c8c7b4e79231
Showing with 9 additions and 1 deletion.
  1. +9 −0 .conan/build.py
  2. +0 −1 conanfile.py
View
@@ -4,8 +4,17 @@
from cpt.packager import ConanMultiPackager
def get_travis_branch():
return os.getenv("TRAVIS_BRANCH")
def get_reference():
return "CTRE/{}".format(get_travis_branch())
if __name__ == "__main__":
builder = ConanMultiPackager(
reference=get_reference(),
username="ctre",
upload="https://api.bintray.com/conan/hanickadot/ctre",
upload_only_when_stable=True,
View
@@ -5,7 +5,6 @@
class CtreConan(ConanFile):
name = "CTRE"
version = "2.1"
license = "MIT"
url = "https://github.com/hanickadot/compile-time-regular-expressions"
author = "Hana Dusíková (ctre@hanicka.net)"

0 comments on commit 329bba1

Please sign in to comment.