dist/debian: move version number fixup to debian_files_gen.py
Now we generate dist/changelog on relocatable package generation time, we cannot run '.rc' fixup on .deb package building time, need to do it in debian_files_gen.py.
This commit is contained in:
parent
ec2a830876
commit
f044c8988e
2
dist/debian/build_deb.sh
vendored
2
dist/debian/build_deb.sh
vendored
@ -91,7 +91,7 @@ fi
|
||||
|
||||
RELOC_PKG_FULLPATH=$(readlink -f $RELOC_PKG)
|
||||
RELOC_PKG_BASENAME=$(basename $RELOC_PKG)
|
||||
SCYLLA_VERSION=$(cat scylla-jmx/SCYLLA-VERSION-FILE | sed 's/\.rc/~rc/')
|
||||
SCYLLA_VERSION=$(cat scylla-jmx/SCYLLA-VERSION-FILE)
|
||||
SCYLLA_RELEASE=$(cat scylla-jmx/SCYLLA-RELEASE-FILE)
|
||||
|
||||
ln -fv $RELOC_PKG_FULLPATH ../$PRODUCT-jmx_$SCYLLA_VERSION-$SCYLLA_RELEASE.orig.tar.gz
|
||||
|
2
dist/debian/debian_files_gen.py
vendored
2
dist/debian/debian_files_gen.py
vendored
@ -41,7 +41,7 @@ with open('build/SCYLLA-PRODUCT-FILE') as f:
|
||||
product = f.read().strip()
|
||||
|
||||
with open('build/SCYLLA-VERSION-FILE') as f:
|
||||
version = f.read().strip()
|
||||
version = f.read().strip().replace('.rc', '~rc')
|
||||
|
||||
with open('build/SCYLLA-RELEASE-FILE') as f:
|
||||
release = f.read().strip()
|
||||
|
Loading…
Reference in New Issue
Block a user