Skip to content

Commit

Permalink
Build: Fix deb version to use tilde with prerelease versions
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 elastic#21139
  • Loading branch information
rjernst committed Mar 12, 2018
1 parent 6088af5 commit 7666f1c
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 @@ -217,7 +217,7 @@ task buildDeb(type: Deb) {
dependsOn processDebFiles
configure(commonPackageConfig('deb'))

version = project.version
version = project.version.replace('-', '~')
packageGroup 'web'
requires 'bash'
requires 'libc6'
Expand Down

0 comments on commit 7666f1c

Please sign in to comment.