Skip to content

Commit

Permalink
Merge pull request #2 from patrickperrone/add-chocolatey
Browse files Browse the repository at this point in the history
Add chocolatey, fixes #1
  • Loading branch information
patrickperrone committed Aug 17, 2015
2 parents 0097d3b + cb65668 commit 2ac4d6b
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
25 changes: 25 additions & 0 deletions Chocolatey/SitecoreShipFunctions.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<title>SitecoreShipFunctions</title>
<id>sitecoreshipfunctions</id>
<version>1.1.0</version>
<authors>Patrick Perrone</authors>
<owners>Patrick Perrone</owners>
<licenseUrl>https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions/blob/master/README.md</licenseUrl>
<projectUrl>https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
Package installation can be as simple as "ssinstall www.mysite.com mypackage.update"

The functions in this module support all operations of Sitecore.Ship, and are self-documented so that Get-Help commands provide descriptions, syntax, and examples. Use these functions to build a repeatable deployment script for any environment!
</description>
<summary>
Make web requests to a Sitecore.Ship-enabled server directly from PowerShell.
</summary>
<tags>Sitecore Ship Sitecore.Ship Functions powershell</tags>
</metadata>
<files>
<file src="tools\chocolateyInstall.ps1" target="tools\chocolateyInstall.ps1" />
</files>
</package>
8 changes: 8 additions & 0 deletions Chocolatey/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$name = "SitecoreShipFunctions"
$url = "https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions/archive/v1.1.0.zip"
$unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-ChocolateyZipPackage $name $url $unzipLocation

$installer = Join-Path $unziplocation 'Sitecore.Ship-PowerShell-Functions-1.1.0\Install.ps1'
& $installer
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ Installation
Install-Module SitecoreShipFunctions
```

Alternatively, you can download and install the module manually.
There is a Chocolatey package coming soon. To install:
```
choco install sitecoreshipfunctions
```

Finally, you can download and install the module manually.

1. Download the latest release.
2. Open properties for zip file and click "Unblock" button if you have one.
Expand Down

0 comments on commit 2ac4d6b

Please sign in to comment.