Skip to content

Commit

Permalink
AU: 1 updated - elasticsearch
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Aug 1, 2022
1 parent 0d1ef37 commit 4c7b77f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
6 changes: 5 additions & 1 deletion automatic/elasticsearch/elasticsearch.json
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
{}
{
"6.8": "6.8.23",
"7.17": "7.17.5",
"8.0-rc": "8.0.0-rc2"
}
4 changes: 2 additions & 2 deletions automatic/elasticsearch/elasticsearch.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>8.3.3</version>
<version>8.0.0-rc2</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Maurice Kevenaar</owners>
<!-- ============================== -->
Expand All @@ -41,7 +41,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- copyright is usually years and software vendor, but not required for internal feeds -->
<copyright>Elasticsearch B.V.</copyright>
<tags>search REST analytics metrics</tags>
<releaseNotes>https://www.elastic.co/guide/en/elasticsearch/reference/8.3/release-notes-8.3.3.html</releaseNotes>
<releaseNotes>https://www.elastic.co/guide/en/elasticsearch/reference/8.0/release-notes-8.0.0-rc2.html</releaseNotes>
<licenseUrl>https://github.com/elastic/elasticsearch/blob/master/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<packageSourceUrl>https://github.com/mkevenaar/chocolatey-packages/tree/master/automatic/elasticsearch</packageSourceUrl>
Expand Down
2 changes: 1 addition & 1 deletion automatic/elasticsearch/tools/chocolateyBeforeModify.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$unPath = Join-Path $toolsDir 'Uninstall-ChocolateyPath.psm1'
Import-Module $unPath

$version = "8.3.3"
$version = "8.0.0-rc2"
$binPath = Join-Path $toolsDir "elasticsearch-$($version)\bin"
Uninstall-ChocolateyPath $binPath 'Machine'
6 changes: 3 additions & 3 deletions automatic/elasticsearch/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = 'https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.3.3-windows-x86_64.zip'
$checksum = '4ed84909c5877eb81c3548063c123b980f4aadfecf9789393a732591b4df8382'
$url = 'https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.0.0-rc2-windows-x86_64.zip'
$checksum = '79eee5991e04a5ea29f2ac479bc54aa1b1a592f620ceefe1fca114cf5409a751'
$checksumType = 'sha256'
$version = "8.3.3"
$version = "8.0.0-rc2"

$packageArgs = @{
packageName = $env:ChocolateyPackageName
Expand Down

0 comments on commit 4c7b77f

Please sign in to comment.