Skip to content

Commit

Permalink
Add nuget manifest for packaging in chocolatey format
Browse files Browse the repository at this point in the history
  • Loading branch information
j--wong committed Oct 21, 2016
1 parent fda5e9d commit ac43455
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packaging/chocolatey/tools/chocolateyinstall.ps1
@@ -0,0 +1,16 @@
$ErrorActionPreference = 'Stop';

$packageName= 'unicreds' # arbitrary name for the package, used in messages
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$url = '{{DownloadUrl}}' # download url for 32-bit
$url64 = 'https://github.com/Versent/unicreds/releases/download/1.5.1/unicreds_1.5.1_windows_amd64.tar.gz' #

Install-ChocolateyZipPackage -PackageName $packageName `
-Url64 $url64 `
-UnzipLocation $toolsDir

$filename = [System.IO.Path]::GetFileNameWithoutExtension($(Split-Path $url64 -Leaf))

Get-ChocolateyUnzip `
-FileFullPath "$toolsDir\$filename" `
-Destination $toolsDir
Empty file.
38 changes: 38 additions & 0 deletions packaging/chocolatey/unicreds.nuspec
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>unicreds</id>
<title>unicreds</title>
<version>1.5.1</version>
<authors>wolfeidau</authors>
<owners>wolfeidau</owners>
<summary>unicreds is a CLI which manages secrets in AWS using DynamoDB and KMS. https://github.com/Versent/unicreds</summary>
<description>
Unicreds is a command line tool to manage secrets within an AWS account, the aim is to keep securely stored with your systems and data so you don't have to manage them externally. It uses DynamoDB and KMS to store and encrypt these secrets. Access to these keys is controlled using IAM.

Unicreds is written in Go and is based on credstash.

See project README for more details: https://github.com/Versent/unicreds/blob/master/README.md
</description>
<projectUrl>https://github.com/Versent/unicreds</projectUrl>
<packageSourceUrl>https://github.com/Versent/unicreds</packageSourceUrl>
<projectSourceUrl>https://github.com/Versent/unicreds</projectSourceUrl>
<docsUrl>https://github.com/Versent/unicreds</docsUrl>
<!--<mailingListUrl></mailingListUrl>-->
<bugTrackerUrl>https://github.com/Versent/unicreds/issues</bugTrackerUrl>
<tags>unicreds kms aws secrets encryption password</tags>
<copyright></copyright>
<licenseUrl>https://github.com/Versent/unicreds/blob/master/LICENSE.md</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<!--<iconUrl>http://cdn.rawgit.com/__REPLACE_YOUR_REPO__/master/icons/unicreds.png</iconUrl>-->
<!--<dependencies>
<dependency id="" version="__VERSION__" />
<dependency id="" />
</dependencies>-->
<releaseNotes>Release notes: https://github.com/Versent/unicreds/releases/tag/1.5.1</releaseNotes>
<!--<provides></provides>-->
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>

0 comments on commit ac43455

Please sign in to comment.