Update chocolatey packages and RELEASE.md

fixes #11647
This commit is contained in:
Michael Friedrich 2016-04-21 14:03:42 +02:00 committed by Gunnar Beutner
parent 597d300e20
commit f177794d96
2 changed files with 16 additions and 1 deletions

View File

@ -130,6 +130,21 @@ Example for CentOS7:
Create a new release for the newly created Git tag.
https://github.com/Icinga/icinga2/releases
## Chocolatey
Navigate to the git repository on your Windows box which
already has chocolatey installed. Pull/checkout the release.
Create the nupkg package:
cpack
Install the created icinga2 package locally:
choco install icinga2 -version 2.4.7 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'"
Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
## Online Documentation
SSH into the web box, navigate into `icinga2-latest/module/icinga2`

View File

@ -2,7 +2,7 @@
$installerType = 'msi'
$url32 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86.msi'
$url64 = 'http://packages.icinga.org/windows/Icinga2-v2.4.7-x86_64.msi'
$silentArgs = '/silent'
$silentArgs = '/qn /norestart'
$validExitCodes = @(0)
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url32" "$url64" -validExitCodes $validExitCodes