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:
Ryan Ernst 2018-04-26 11:51:48 -07:00 committed by GitHub
parent d0416c76fe
commit 4cfca2fbd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -270,7 +270,7 @@ Closure commonDebConfig(boolean oss) {
customFields['License'] = 'Elastic-License' customFields['License'] = 'Elastic-License'
} }
version = project.version version = project.version.replace('-', '~')
packageGroup 'web' packageGroup 'web'
requires 'bash' requires 'bash'
requires 'libc6' requires 'libc6'