dist/debian: support version number containing '_'

.deb packaging system does not support version number contains '_',
it should be replacedwith '-'
This commit is contained in:
Takuya ASADA 2020-06-01 16:10:23 +09:00
parent f044c8988e
commit 3fb777a8f0
1 changed files with 1 additions and 1 deletions

View File

@ -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()