dist/debian: support version number containing '_'
.deb packaging system does not support version number contains '_', it should be replacedwith '-'
This commit is contained in:
parent
f044c8988e
commit
3fb777a8f0
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().replace('.rc', '~rc')
|
||||
version = f.read().strip().replace('.rc', '~rc').replace('_', '-')
|
||||
|
||||
with open('build/SCYLLA-RELEASE-FILE') as f:
|
||||
release = f.read().strip()
|
||||
|
Loading…
Reference in New Issue
Block a user