packaging: also build archive of 'dist' build

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-05-06 16:02:34 +05:30
parent 64a1b22c33
commit 4f0c317b81

View File

@ -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() {