mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-26 07:11:35 +00:00
8 lines
276 B
Plaintext
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
|