Skip to content

Commit

Permalink
update commit hash
Browse files Browse the repository at this point in the history
Contributes to CURA-11622
  • Loading branch information
jellespijker committed Feb 12, 2024
1 parent 2c3a72e commit 99e1a36
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from conan.tools.env import VirtualBuildEnv, VirtualRunEnv
from conan.tools.files import copy, mkdir, update_conandata
from conan.tools.microsoft import unix_path
from conan.tools.scm import Version
from conan.tools.scm import Version, Git
from conan.errors import ConanInvalidConfiguration

required_conan_version = ">=1.58.0"
Expand Down Expand Up @@ -84,7 +84,8 @@ def _py_interp(self):
return py_interp

def export(self):
update_conandata(self, {"version": self.version})
git = Git(self)
update_conandata(self, {"version": self.version, "commit": git.get_commit()})

def export_sources(self):
copy(self, "*", os.path.join(self.recipe_folder, "plugins"),
Expand Down

0 comments on commit 99e1a36

Please sign in to comment.