Skip to content

Commit

Permalink
encoding ;
Browse files Browse the repository at this point in the history
  • Loading branch information
serialseb committed Mar 7, 2017
1 parent e6f2743 commit a44c199
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions build/funcs/Create-Package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,19 @@ $authors = (git shortlog -sn | ? { $_ -match '^\s*(?<count>\d+)\s*(?<author>.*)
$description = $repoInfo.description
$licenseUrl = "https://github.com/$($env:APPVEYOR_REPO_NAME)/tree/$env:APPVEYOR_REPO_COMMIT/LICENSE.md"
$projectUrl = "https://github.com/$($env:APPVEYOR_REPO_NAME)/"

write-host "Release notes: $releaseNotes"
write-host "License: $authors"
write-host "Authors: $licenseUrl"
write-host "License URL: $licenseUrl"
write-host "Authors: $authors"
write-host "Project URL: $projectUrl"

& nuget pack $nuspecPath.nuspec -Properties releaseNotes="$releaseNotes" `
-Properties "authors=$authors" `
-Properties "licenseUrl=$licenseUrl" `
-Properties "projectUrl=$projectUrl" `
-Properties "description=$description" `
& nuget pack $nuspecPath.nuspec `
-Properties releaseNotes="$releaseNotes"`;`
authors="$authors"`;`
licenseUrl="$licenseUrl"`;`
projectUrl="$projectUrl"`;`
description="$description"`;`
-version $env:NUGET_VERSION `
-basepath $env:APPVEYOR_BUILD_FOLDER/src/$env:SEB_PROJECT_NAME/

Push-AppveyorArtifact *.nupkg

0 comments on commit a44c199

Please sign in to comment.