aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'buildbot_gentoo_ci/steps/version.py')
-rw-r--r--buildbot_gentoo_ci/steps/version.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/buildbot_gentoo_ci/steps/version.py b/buildbot_gentoo_ci/steps/version.py
index 98e5403..5f252c7 100644
--- a/buildbot_gentoo_ci/steps/version.py
+++ b/buildbot_gentoo_ci/steps/version.py
@@ -151,11 +151,13 @@ class AddVersion(BuildStep):
self.version_data['package_uuid'] = self.getProperty("package_data")['uuid']
self.version_data['file_hash'] = 'None'
self.version_data['commit_id'] = self.getProperty("commit_id")
+ self.version_data['change_id'] = self.getProperty("change_data")['change_id']
self.version_data['uuid'] = yield self.gentooci.db.versions.addVersion(
self.version_data['name'],
self.version_data['package_uuid'],
self.version_data['file_hash'],
- self.version_data['commit_id']
+ self.version_data['commit_id'],
+ self.version_data['change_id']
)
print(self.version_data)
self.setProperty("version_data", self.version_data, 'version_data')