File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change
1
+ # -------------------------------------------------------------------------------------------------------
2
+ # Copyright (C) Microsoft. All rights reserved.
3
+ # Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4
+ # -------------------------------------------------------------------------------------------------------
5
+
1
6
$root = (split-path - parent $MyInvocation.MyCommand.Definition ) + ' \..'
2
7
3
8
$packageRoot = " $root \NuGet"
@@ -35,11 +40,11 @@ Foreach ($nuspec in $(Get-Item $packageRoot\*.nuspec))
35
40
$content = $content -replace ' \$version\$' , $versionStr
36
41
$content | Out-File $compiledNuspec
37
42
38
- & $targetNugetExe pack $compiledNuspec - outputdirectory $packageArtifacts
43
+ & $targetNugetExe pack $compiledNuspec - outputdirectory $packageArtifacts
39
44
}
40
45
41
46
# Delete compiled temporary nuspec.
42
47
If (Test-Path $compiledNuspec )
43
48
{
44
- Remove-Item $compiledNuspec
49
+ Remove-Item $compiledNuspec
45
50
}
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ git diff --name-only `git merge-base origin/master HEAD` HEAD |
31
31
grep -v -E ' \.filters$' |
32
32
grep -v -E ' \.targets$' |
33
33
grep -v -E ' \.nuspec$' |
34
+ grep -v -E ' \.pack-version$' |
34
35
grep -v -E ' \.def$' |
35
36
grep -v -E ' \.inc$' |
36
37
grep -v -E ' \.json$' |
You can’t perform that action at this time.
0 commit comments