diff --git a/SCYLLA-VERSION-GEN b/SCYLLA-VERSION-GEN index a218857fca..c74f7038cb 100755 --- a/SCYLLA-VERSION-GEN +++ b/SCYLLA-VERSION-GEN @@ -60,7 +60,7 @@ fi # Default scylla product/version tags PRODUCT=scylla -VERSION=5.1.dev +VERSION=5.1.0-dev if test -f version then diff --git a/configure.py b/configure.py index b1e13d380f..127998d9f7 100755 --- a/configure.py +++ b/configure.py @@ -1535,7 +1535,7 @@ if status != 0: sys.exit(1) file = open(f'{outdir}/SCYLLA-VERSION-FILE', 'r') -scylla_version = file.read().strip() +scylla_version = file.read().strip().replace('-', '~') file = open(f'{outdir}/SCYLLA-RELEASE-FILE', 'r') scylla_release = file.read().strip() file = open(f'{outdir}/SCYLLA-PRODUCT-FILE', 'r') @@ -2153,7 +2153,7 @@ with open(buildfile, 'w') as f: build dist-server: phony dist-server-tar dist-server-compat dist-server-compat-arch dist-server-rpm dist-server-deb rule build-submodule-reloc - command = cd $reloc_dir && ./reloc/build_reloc.sh --version $$(<../../build/SCYLLA-PRODUCT-FILE)-$$(<../../build/SCYLLA-VERSION-FILE)-$$(<../../build/SCYLLA-RELEASE-FILE) --nodeps $args + command = cd $reloc_dir && ./reloc/build_reloc.sh --version $$(<../../build/SCYLLA-PRODUCT-FILE)-$$(sed 's/-/~/' <../../build/SCYLLA-VERSION-FILE)-$$(<../../build/SCYLLA-RELEASE-FILE) --nodeps $args rule build-submodule-rpm command = cd $dir && ./reloc/build_rpm.sh --reloc-pkg $artifact rule build-submodule-deb diff --git a/dist/debian/debian_files_gen.py b/dist/debian/debian_files_gen.py index 903429877b..50dc423f09 100755 --- a/dist/debian/debian_files_gen.py +++ b/dist/debian/debian_files_gen.py @@ -29,7 +29,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().replace('.rc', '~rc').replace('_', '-') + version = f.read().strip().replace('-', '~') with open('build/SCYLLA-RELEASE-FILE') as f: release = f.read().strip() diff --git a/dist/docker/debian/build_docker.sh b/dist/docker/debian/build_docker.sh index 9e338910b3..601cc371e0 100755 --- a/dist/docker/debian/build_docker.sh +++ b/dist/docker/debian/build_docker.sh @@ -9,13 +9,9 @@ # product="$(