From: Andrew Schoen Date: Wed, 31 Aug 2016 20:33:09 +0000 (-0500) Subject: ceph-dev-build: adds a new package_manager_version field to repo extra X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F452%2Fhead;p=ceph-build.git 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 --- 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",