You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ro...@apache.org on 2020/05/06 10:33:15 UTC

[cloudstack-primate] branch master updated: packaging: also build archive of 'dist' build

This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 1c5b0ac  packaging: also build archive of 'dist' build
1c5b0ac is described below

commit 1c5b0ac48f467615bac3dab5758fb4bf745b0ef5
Author: Rohit Yadav <ro...@shapeblue.com>
AuthorDate: Wed May 6 16:02:34 2020 +0530

    packaging: also build archive of 'dist' build
    
    Signed-off-by: Rohit Yadav <ro...@shapeblue.com>
---
 packaging/package.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/packaging/package.sh b/packaging/package.sh
index ff3d9df..fd61bb5 100644
--- a/packaging/package.sh
+++ b/packaging/package.sh
@@ -26,6 +26,7 @@ function package_deb() {
     DATE=$(date +"%Y%m%d")
     sed -i "s/VERSION/$VERSION-$DATE/g" debian/changelog
     dpkg-buildpackage -uc -us
+    $(cd ../; tar czf primate-$VERSION-$DATE.tar.gz dist --transform s/dist/primate/)
 }
 
 function package_rpm() {