diff options
author | Iikka Eklund <iikka.eklund@qt.io> | 2021-03-04 11:47:03 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-16 08:25:55 +0000 |
commit | b4a84a2cf80dd7b17f21c5823807102cf549f360 (patch) | |
tree | 7db9cc46a547cca5d93ea04d60e967f4712b5605 | |
parent | 7c6c3e04c5e35c75f2be91b87f9050640e640ded (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
Task-number: QTQAINFRA-4325
Change-Id: I9925ce9aa764e7c9b931ab27afbaff3534293c16
Reviewed-by: Toni Saario <toni.saario@qt.io>
(cherry picked from commit 70c2e8889ecf28fcd05419a436377d8805fd01f7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | conanfile.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/conanfile.py b/conanfile.py index 1cc05263..96a49a26 100644 --- a/conanfile.py +++ b/conanfile.py @@ -56,6 +56,7 @@ class QtVirtualKeyboard(ConanFile): "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 |