Skip to content

Commit 2ac4d6b

Browse files
Merge pull request #2 from patrickperrone/add-chocolatey
Add chocolatey, fixes #1
2 parents 0097d3b + cb65668 commit 2ac4d6b

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
3+
<metadata>
4+
<title>SitecoreShipFunctions</title>
5+
<id>sitecoreshipfunctions</id>
6+
<version>1.1.0</version>
7+
<authors>Patrick Perrone</authors>
8+
<owners>Patrick Perrone</owners>
9+
<licenseUrl>https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions/blob/master/README.md</licenseUrl>
10+
<projectUrl>https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions</projectUrl>
11+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
12+
<description>
13+
Package installation can be as simple as "ssinstall www.mysite.com mypackage.update"
14+
15+
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!
16+
</description>
17+
<summary>
18+
Make web requests to a Sitecore.Ship-enabled server directly from PowerShell.
19+
</summary>
20+
<tags>Sitecore Ship Sitecore.Ship Functions powershell</tags>
21+
</metadata>
22+
<files>
23+
<file src="tools\chocolateyInstall.ps1" target="tools\chocolateyInstall.ps1" />
24+
</files>
25+
</package>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
$name = "SitecoreShipFunctions"
2+
$url = "https://github.com/patrickperrone/Sitecore.Ship-PowerShell-Functions/archive/v1.1.0.zip"
3+
$unzipLocation = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
4+
5+
Install-ChocolateyZipPackage $name $url $unzipLocation
6+
7+
$installer = Join-Path $unziplocation 'Sitecore.Ship-PowerShell-Functions-1.1.0\Install.ps1'
8+
& $installer

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ Installation
1515
Install-Module SitecoreShipFunctions
1616
```
1717

18-
Alternatively, you can download and install the module manually.
18+
There is a Chocolatey package coming soon. To install:
19+
```
20+
choco install sitecoreshipfunctions
21+
```
22+
23+
Finally, you can download and install the module manually.
1924

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

0 commit comments

Comments
 (0)