From 159b538f2f55bb2831180b8999c9dac6ac570126 Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Wed, 31 Aug 2016 15:33:09 -0500 Subject: [PATCH] ceph-dev-build: adds a new package_manager_version field to repo extra For DEB repos there is a different version that apt uses, this allows the API to provide that information as well as the project version. Signed-off-by: Andrew Schoen --- ceph-dev-build/build/build_deb | 1 + ceph-dev-build/build/build_rpm | 1 + 2 files changed, 2 insertions(+) diff --git a/ceph-dev-build/build/build_deb b/ceph-dev-build/build/build_deb index 599ab907..ea5ee7d4 100644 --- a/ceph-dev-build/build/build_deb +++ b/ceph-dev-build/build/build_deb @@ -189,6 +189,7 @@ if [ "$THROWAWAY" = false ] ; then cat > $WORKSPACE/repo-extra.json << EOF { "version":"$vers", + "package_manager_version":"$dver", "build_url":"$BUILD_URL", "root_build_cause":"$ROOT_BUILD_CAUSE", "node_name":"$NODE_NAME", diff --git a/ceph-dev-build/build/build_rpm b/ceph-dev-build/build/build_rpm index 893ad9ce..f445bca3 100644 --- a/ceph-dev-build/build/build_rpm +++ b/ceph-dev-build/build/build_rpm @@ -229,6 +229,7 @@ if [ "$THROWAWAY" = false ] ; then cat > $WORKSPACE/repo-extra.json << EOF { "version":"$vers", + "package_manager_version":"$vers", "build_url":"$BUILD_URL", "root_build_cause":"$ROOT_BUILD_CAUSE", "node_name":"$NODE_NAME", -- 2.39.5