From a44c199c3caef5934830fa7cdccd26addde2ed25 Mon Sep 17 00:00:00 2001 From: Sebastien Lambla Date: Tue, 7 Mar 2017 02:45:53 +0100 Subject: [PATCH] encoding ; --- build/funcs/Create-Package.ps1 | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/build/funcs/Create-Package.ps1 b/build/funcs/Create-Package.ps1 index cceb827..1f08d65 100644 --- a/build/funcs/Create-Package.ps1 +++ b/build/funcs/Create-Package.ps1 @@ -18,15 +18,19 @@ $authors = (git shortlog -sn | ? { $_ -match '^\s*(?\d+)\s*(?.*) $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 \ No newline at end of file