Skip to content

Commit

Permalink
chore: change to use version
Browse files Browse the repository at this point in the history
  • Loading branch information
gocarlos committed Apr 8, 2020
1 parent ca9be3a commit 63df96e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions recipes/cn-cbor/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
sources:
"20200409":
sha256: 5a5c827177bf5f1bd3b667630eacd02f363e726dfcdd4c49094f594f3bcb82d8
url: https://github.com/jimsch/cn-cbor/archive/ff195453c9d62f0a30f2d64436c2d614a2278ba7.zip
"1.0.0":
sha256: eca2bcc15b8400037fd95748724287afbb966e34d4d0275a496b4872bcea9d77
url: https://github.com/jimsch/cn-cbor/archive/1.0.0.zip

2 changes: 1 addition & 1 deletion recipes/cn-cbor/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def configure(self):

def source(self):
tools.get(**self.conan_data["sources"][self.version])
extracted_dir = self.name + "-" + os.path.basename(self.conan_data["sources"][self.version]["url"]).split(".")[0]
extracted_dir = self.name + "-" + self.version
os.rename(extracted_dir, self._source_subfolder)

def _configure_cmake(self):
Expand Down
2 changes: 1 addition & 1 deletion recipes/cn-cbor/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
versions:
"20200409":
"1.0.0":
folder: "all"

0 comments on commit 63df96e

Please sign in to comment.