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:
@@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
VERSION=development
|
||||
VERSION=666.development
|
||||
|
||||
if test -f version
|
||||
then
|
||||
|
||||
3
dist/ubuntu/build_deb.sh
vendored
3
dist/ubuntu/build_deb.sh
vendored
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user