Skip to content

Commit

Permalink
Build: Fix deb version to use tilde with prerelease versions (#29000)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rjernst authored Apr 26, 2018
1 parent d0416c7 commit 4cfca2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distribution/packages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 4cfca2f

Please sign in to comment.