Compare commits

...

2 Commits

Author SHA1 Message Date
Takuya ASADA
f32307a4a3 dist: support ./SCYLLA-VERSION-GEN on ubuntu package
Signed-off-by: Takuya ASADA <syuu@scylladb.com>
2015-11-22 17:55:54 +02:00
Pekka Enberg
215d267a0e release: prepare for 0.12 2015-11-18 11:01:14 +02:00
3 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
VERSION=1.0 VERSION=0.12
if test -f version if test -f version
then then

View File

@ -7,4 +7,14 @@ fi
sudo apt-get -y install debhelper maven openjdk-7-jdk devscripts sudo apt-get -y install debhelper maven openjdk-7-jdk devscripts
VERSION=$(./SCYLLA-VERSION-GEN)
SCYLLA_VERSION=$(cat build/SCYLLA-VERSION-FILE)
SCYLLA_RELEASE=$(cat build/SCYLLA-RELEASE-FILE)
if [ "$SCYLLA_VERSION" = "development" ]; then
SCYLLA_VERSION=0development
fi
cp dist/ubuntu/changelog.in debian/changelog
sed -i -e "s/@@VERSION@@/$SCYLLA_VERSION/g" debian/changelog
sed -i -e "s/@@RELEASE@@/$SCYLLA_RELEASE/g" debian/changelog
debuild -r fakeroot --no-tgz-check -us -uc debuild -r fakeroot --no-tgz-check -us -uc

View File

@ -1,4 +1,4 @@
scylla-jmx (0.10-ubuntu1) trusty; urgency=medium scylla-jmx (@@VERSION@@-@@RELEASE@@-ubuntu1) trusty; urgency=medium
* Initial release. * Initial release.