Skip to content

Commit

Permalink
Merge pull request #2 from Sarafian/develop
Browse files Browse the repository at this point in the history
Small fixed for publishing
  • Loading branch information
Sarafian committed Jun 6, 2016
2 parents ec20186 + 4bd0295 commit b3ddda7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Publish/PreparePSD1.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ $semVersion=Get-Version
$author="Alex Sarafian"
$company=""
$copyright="(c) $($date.Year) $company. All rights reserved."
$description="A module to help render Markdown from powershell"
$description="A powershell module to help work with WCF Services."

$modules=Get-ChildItem "$PSScriptRoot\..\Modules\"

Expand All @@ -30,7 +30,7 @@ foreach($module in $modules)
"Guid"=$guid;
"ModuleVersion"=$semVersion;
"Path"=$psd1Path;
"Tags"=@('Markdown', 'Tools');
"Tags"=@('Wcf', 'Tools');
"LicenseUri"='https://github.com/Sarafian/WcfPS/blob/master/LICENSE';
"ProjectUri"= 'http://sarafian.github.io/WcfPS/';
"ReleaseNotes"= 'https://github.com/Sarafian/WcfPS/blob/master/CHANGELOG.md';
Expand All @@ -39,7 +39,7 @@ foreach($module in $modules)
"PowerShellHostVersion"="4.0"
}

New-ModuleManifest @hash
New-ModuleManifest @hash
}


8 changes: 1 addition & 7 deletions Publish/PublishToGallery.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,7 @@ Param (
[string]$NuGetApiKey
)

& "$PSScriptRoot\..\Pester\Test-All.ps1"
if($LASTEXITCODE -ne 0)
{
Write-Error "Stopping"
exit -1
}
& "$PSScriptRoot\PreparePSD1.ps1"

#Publish-Module -Path "$PSScriptRoot\..\Modules\MarkdownPS" -NuGetApiKey $NuGetApiKey
Publish-Module -Path "$PSScriptRoot\..\Modules\WcfPS" -NuGetApiKey $NuGetApiKey

0 comments on commit b3ddda7

Please sign in to comment.