]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-dev-build: adds a new package_manager_version field to repo extra 452/head
authorAndrew Schoen <aschoen@redhat.com>
Wed, 31 Aug 2016 20:33:09 +0000 (15:33 -0500)
committerAndrew Schoen <aschoen@redhat.com>
Wed, 31 Aug 2016 20:33:09 +0000 (15:33 -0500)
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 <aschoen@redhat.com>
ceph-dev-build/build/build_deb
ceph-dev-build/build/build_rpm

index 599ab90780a04fa60a2a09a617f15648fad500ae..ea5ee7d43725ff8466276f9ed4bb11f35f1ee19b 100644 (file)
@@ -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",
index 893ad9ce70b02992cfff600ae026e1602d22ee41..f445bca3bd066928e9484c1c48dc1f2713b4e9f8 100644 (file)
@@ -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",