summaryrefslogtreecommitdiffstats
path: root/conanfile.py
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2021-03-04 11:57:36 +0200
committerIikka Eklund <iikka.eklund@qt.io>2021-03-15 06:52:05 +0200
commit2b605d7bb6f5a91bed0cbee338b5bf52b66fa88e (patch)
tree7dfd6a2563a835703b1f036232b506c323f2b142 /conanfile.py
parentda3a24c06541b63011a3af91fbae9f9d2ec28912 (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: I0cd1ff15115fab31af41fd32d2c75ea0b945adc1 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'conanfile.py')
-rw-r--r--conanfile.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py
index f8d8a90..b7a47e9 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -48,6 +48,7 @@ class QtActiveQtFormats(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