Skip to content

Commit

Permalink
Use version-specific documentation link in jvm.options file (elastic#…
Browse files Browse the repository at this point in the history
…76323)

# Conflicts:
#	distribution/src/config/jvm.options
  • Loading branch information
mark-vieira committed Aug 11, 2021
1 parent 170ff7a commit dc6ac43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion distribution/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@

import org.apache.tools.ant.filters.FixCrLfFilter
import org.apache.tools.ant.filters.ReplaceTokens
import org.elasticsearch.gradle.VersionProperties
import org.elasticsearch.gradle.internal.ConcatFilesTask
import org.elasticsearch.gradle.internal.DependenciesInfoTask
import org.elasticsearch.gradle.internal.NoticeTask
import org.elasticsearch.gradle.VersionProperties
import org.elasticsearch.gradle.internal.info.BuildParams

import java.nio.file.Files
Expand Down Expand Up @@ -487,6 +487,7 @@ subprojects {
Map<String, Object> expansions = [
'project.name': project.name,
'project.version': version,
'project.minor.version': "${VersionProperties.elasticsearchVersion.major}.${VersionProperties.elasticsearchVersion.minor}",

'path.conf': [
'deb': '/etc/elasticsearch',
Expand Down
4 changes: 2 additions & 2 deletions distribution/src/config/jvm.options
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
## should create one or more files in the jvm.options.d
## directory containing your adjustments.
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/jvm-options.html
## See https://www.elastic.co/guide/en/elasticsearch/reference/@project.minor.version@/jvm-options.html
## for more information.
##
################################################################
Expand All @@ -31,7 +31,7 @@
## -Xms4g
## -Xmx4g
##
## See https://www.elastic.co/guide/en/elasticsearch/reference/current/heap-size.html
## See https://www.elastic.co/guide/en/elasticsearch/reference/@project.minor.version@/heap-size.html
## for more information
##
################################################################
Expand Down

0 comments on commit dc6ac43

Please sign in to comment.