packaging: fix tar.gz name to cloudstack-primate-$VERSION-$DATE.tar.gz

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

View File

@ -26,7 +26,7 @@ function package_deb() {
DATE=$(date +"%Y%m%d") DATE=$(date +"%Y%m%d")
sed -i "s/VERSION/$VERSION-$DATE/g" debian/changelog sed -i "s/VERSION/$VERSION-$DATE/g" debian/changelog
dpkg-buildpackage -uc -us dpkg-buildpackage -uc -us
$(cd ../; tar czf primate-$VERSION-$DATE.tar.gz dist --transform s/dist/primate/) $(cd ../; tar czf cloudstack-primate-$VERSION-$DATE.tar.gz dist --transform s/dist/primate/)
} }
function package_rpm() { function package_rpm() {