8000 Minor fixes · PowerShell/PowerShell@39e04f1 · GitHub
[go: up one dir, main page]

Skip to content

Commit 39e04f1

Browse files
committed
Minor fixes
1 parent 890e435 commit 39e04f1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

PowerShell.Common.props

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
>
1818

1919
<Exec Command='git describe --abbrev=60 --long'
20-
WorkingDirectory=$(MSBuildProjectDirectory)
20+
WorkingDirectory="$(MSBuildProjectDirectory)"
2121
ConsoleToMSBuild="true"
2222
StandardOutputImportance="Low">
2323
<Output TaskParameter="ConsoleOutput" PropertyName="PowerShellVersion" />
@@ -51,9 +51,6 @@
5151
<Version>$(PSCoreBuildVersion)</Version>
5252
<InformationalVersion>$(PSCoreFormattedVersion)</InformationalVersion>
5353

54-
<!--VersionPrefix>$(PSCorePrefixVersion)</VersionPrefix-->
55-
<!--VersionSuffix>$(PSCoreLabelVersion)</VersionSuffix-->
56-
5754
<!--
5855
We have explicitly assign 'PackageVersion'
5956
because there is a bug: 'PackageVersion' is correctly assigned as 'Version' in 'NuGet.targets'

build.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1358,7 +1358,7 @@ function Publish-NuGetFeed
13581358
'Microsoft.PowerShell.SDK'
13591359
) | ForEach-Object {
13601360
if ($ReleaseTag) {
1361-
dotnet pack "src/$_" --output $OutputPath "/property:ReleaseTag=$ReleaseTag1" /p:IncludeSymbols=true
1361+
dotnet pack "src/$_" --output $OutputPath "/property:IncludeSymbols=true;ReleaseTag=$ReleaseTag1"
13621362
} else {
13631363
dotnet pack "src/$_" --output $OutputPath
13641364
}

tools/appveyor.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ function Invoke-AppveyorFinish
470470
# only publish to nuget feed if it is a daily build and tests passed
471471
if((Test-DailyBuild) -and $env:TestPassed -eq 'True')
472472
{
473-
Publish-NuGetFeed -OutputPath .\nuget-artifacts -ReleaseTag "/property:ReleaseTag=$preReleaseVersion"
473+
Publish-NuGetFeed -OutputPath .\nuget-artifacts -ReleaseTag $preReleaseVersion
474474
}
475475

476476
$nugetArtifacts = Get-ChildItem .\nuget-artifacts -ErrorAction SilentlyContinue | ForEach-Object { $_.FullName }

0 commit comments

Comments
 (0)
0