Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nuget manifest for packaging in chocolatey format
- Loading branch information
Showing
3 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |