dist: renumber development version as 666.development

yum command think "development-xxxx.xxxx" is older than "0.x", so nightly package mistakenly update with release version.
To prevent this problem, we should add greater number prior to "development".
Also same on Ubuntu package.

Signed-off-by: Takuya ASADA <syuu@scylladb.com>
Message-Id: <1452592877-29721-1-git-send-email-syuu@scylladb.com>
This commit is contained in:
Takuya ASADA
2016-01-12 10:01:16 +00:00
committed by Avi Kivity
parent 5809ed476f
commit 5459df1e9e
2 changed files with 1 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/sh
VERSION=development
VERSION=666.development
if test -f version
then

View File

@@ -21,9 +21,6 @@ fi
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
echo $VERSION > version
./scripts/git-archive-all --extra version --force-submodules --prefix scylla-server ../scylla-server_$SCYLLA_VERSION-$SCYLLA_RELEASE.orig.tar.gz