Build: Fix deb version to use tilde with prerelease versions (#29000)
This commit converts the deb package to use tildes in place of dash in the internal package version. This is only relevant for prerelease versions of elasticsearch. Previously, this was not possible due to problems with the underlying library used by the ospackage plugin, but since a recent upgrade, it now works. closes #21139
This commit is contained in:
parent
d0416c76fe
commit
4cfca2fbd0
|
@ -270,7 +270,7 @@ Closure commonDebConfig(boolean oss) {
|
|||
customFields['License'] = 'Elastic-License'
|
||||
}
|
||||
|
||||
version = project.version
|
||||
version = project.version.replace('-', '~')
|
||||
packageGroup 'web'
|
||||
requires 'bash'
|
||||
requires 'libc6'
|
||||
|
|
Loading…
Reference in New Issue