summaryrefslogtreecommitdiff
path: root/conanfile.py
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2021-03-04 09:33:56 +0200
committerIikka Eklund <iikka.eklund@qt.io>2021-03-12 13:39:29 +0200
commite2bed44b317951494d30feb2910a05ba87ea1b63 (patch)
tree0c002c22b692c9a1bcac0f1c5dc03d7e6b10b13e /conanfile.py
parent3dfd4dd8068284465302ecc46cc024e62a931d1a (diff)
downloadqtimageformats-e2bed44b317951494d30feb2910a05ba87ea1b63.tar.gz
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: I0e34081429c545b73f549a2aea739dcaee98c11e Reviewed-by: Toni Saario <toni.saario@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 f5e72b9..fd704ff 100644
--- a/conanfile.py
+++ b/conanfile.py
@@ -48,6 +48,7 @@ class QtImageFormats(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