From 524763cfeda89c9f9998c015ed1ad2ee8fb0e9ad Mon Sep 17 00:00:00 2001 From: Pekka Enberg Date: Tue, 22 Mar 2016 12:23:48 +0200 Subject: [PATCH] dist/ubuntu: Use tilde for release candidate builds The version number ordering rules are different for rpm and deb. Use tilde ('~') for the latter to ensure a release candidate is ordered _before_ a final version. --- dist/ubuntu/build_deb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/ubuntu/build_deb.sh b/dist/ubuntu/build_deb.sh index d0b53dd..7995e8f 100644 --- a/dist/ubuntu/build_deb.sh +++ b/dist/ubuntu/build_deb.sh @@ -10,7 +10,7 @@ if [ -e debian ] || [ -e build ] || [ -e target ] || [ -e m2 ] || [ -e dependenc fi VERSION=$(./SCYLLA-VERSION-GEN) -SCYLLA_VERSION=$(cat build/SCYLLA-VERSION-FILE) +SCYLLA_VERSION=$(cat build/SCYLLA-VERSION-FILE | sed 's/\.rc/~rc/') SCYLLA_RELEASE=$(cat build/SCYLLA-RELEASE-FILE) if [ "$SCYLLA_VERSION" = "development" ]; then SCYLLA_VERSION=0development