diff options
author | Iikka Eklund <iikka.eklund@qt.io> | 2021-03-04 09:32:01 +0200 |
---|---|---|
committer | Iikka Eklund <iikka.eklund@qt.io> | 2021-03-15 06:51:39 +0200 |
commit | 4d60c670ab2155332bfca799e1f5205273c0bc8e (patch) | |
tree | d077d49fc0992eb33d93db973f07afefa6a1cb0d /conanfile.py | |
parent | 9c9284ce7f0d4ea3dda6d6bc6b602f5d4d6016d4 (diff) |
Add "scm" attribute to conanfile.py
We want to match the commit ID along with the
RREV (recipe revision). This way we can pin exact Conan packages
to known sha1/tag which makes releasing easier.
https://docs.conan.io/en/latest/reference/conanfile/attributes.html#revision-mode
Pick-to: 6.1
Task-number: QTQAINFRA-4325
Change-Id: I33095ecd14ce711516d5a13d70ffabf444c67392
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'conanfile.py')
-rw-r--r-- | conanfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py index b4c4f96e3..db6009f7a 100644 --- a/conanfile.py +++ b/conanfile.py @@ -48,6 +48,7 @@ class Qt3D(ConanFile): default_options = {"shared": "default", # default: Use the value of the Qt build "qt6": None} exports_sources = "*", "!conan*.*" + revision_mode = "scm" # use commit ID as the RREV (recipe revision) def source(self): # sources are installed next to recipe, no need to clone etc. sources here |