Merge pull request #6692 from Icinga/feature/docs-release-chocolatey

Update release docs for Chocolatey
This commit is contained in:
Michael Friedrich 2018-10-16 12:40:38 +02:00 committed by GitHub
commit 893056742f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -305,19 +305,21 @@ Create a new release for the newly created Git tag: https://github.com/Icinga/ic
Navigate to the git repository on your Windows box which Navigate to the git repository on your Windows box which
already has chocolatey installed. Pull/checkout the release. already has chocolatey installed. Pull/checkout the release.
Create the nupkg package: Create the nupkg package (or use the one generated on https://packages.icinga.com/windows):
``` ```
cpack cpack
``` ```
Install the created icinga2 package locally: Fetch the API key from https://chocolatey.org/account and use the `choco push`
command line.
``` ```
choco install icinga2 -version 2.9.0 -fdv "%cd%" -source "'%cd%;https://chocolatey.org/api/v2/'" choco apikey --key xxx --source https://push.chocolatey.org/
choco push Icinga2-v2.10.0.nupkg --source https://push.chocolatey.org/
``` ```
Upload the package to [chocolatey](https://chocolatey.org/packages/upload).
## Post Release <a id="post-release"></a> ## Post Release <a id="post-release"></a>