Skip to content

Commit

Permalink
fix packer, remove icon url
Browse files Browse the repository at this point in the history
  • Loading branch information
Badgerati committed Jan 11, 2018
1 parent 0ae4e91 commit 941e03d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 7 additions & 1 deletion pack.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if ([string]::IsNullOrWhiteSpace($workspace))
Write-Host "Copying scripts into package"

New-Item -ItemType Directory -Path './Package/src/Tools'
Copy-Item -Path './src/' -Destination './Package/src/' -Recurse -Force
Copy-Item -Path './src/*' -Destination './Package/src/' -Recurse -Force

Write-Host "Scripts copied successfully"

Expand All @@ -46,6 +46,11 @@ $zipName = "$($build_version)-Binaries.zip"
try
{
.\7z.exe -tzip a "$($workspace)\$($zipName)" "$($workspace)\Package\*"
if (!$?)
{
throw 'failed to make archive'
}

Write-Host "Package zipped successfully"
}
finally
Expand Down Expand Up @@ -78,6 +83,7 @@ try
(Get-Content 'ChocolateyInstall.ps1') | ForEach-Object { $_ -replace '\$version\$', $build_version } | Set-Content 'ChocolateyInstall.ps1'
(Get-Content 'ChocolateyInstall.ps1') | ForEach-Object { $_ -replace '\$checksum\$', $checksum } | Set-Content 'Chocolateyinstall.ps1'
Set-Location ..
choco pack
}
finally
{
Expand Down
3 changes: 1 addition & 2 deletions packers/choco/pode.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<owners>Badgerati</owners>
<summary>Pode is a PowerShell framework that runs a HTTP/TCP listener on a specific port, allowing you to host REST APIs, Web Pages and SMTP servers via PowerShell</summary>
<description>
Pode is a PowerShell framework that runs a HTTP/TCP listener on a specific port, allowing you to host REST APIs, Web Pages and SMTP servers via PowerShell
Pode is a PowerShell framework that runs HTTP/TCP listeners on a specific port, allowing you to host REST APIs, Web Pages and SMTP servers via PowerShell

### Features

Expand All @@ -28,7 +28,6 @@ Pode is a PowerShell framework that runs a HTTP/TCP listener on a specific port,
<copyright>Copyright 2017</copyright>
<licenseUrl>https://github.com/Badgerati/Pode/blob/master/LICENSE.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://cdn.rawgit.com/Badgerati/Pode/master/images/icon.png</iconUrl>
<releaseNotes>https://github.com/Badgerati/Pode/releases</releaseNotes>
</metadata>
<files>
Expand Down

0 comments on commit 941e03d

Please sign in to comment.