2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-26 07:11:35 +00:00
2020-05-04 15:47:39 -04:00

8 lines
276 B
Plaintext

export VERSION=$(git describe --tags)
sed -e "s/#VERSION#/$VERSION/" confluent_osdeploy.spec.tmpl > confluent_osdeploy.spec
cd ..
tar Jcvf confluent_osdeploy.tar.xz confluent_osdeploy
mv $confluent_osdeploy.tar.xz ~/rpmbuild/SOURCES/
cd -
rpmbuild -ba confluent_osdeploy.spec