Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lwm1986
roslyn
提交
9866191f
R
roslyn
项目概览
lwm1986
/
roslyn
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roslyn
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
9866191f
编写于
12月 13, 2017
作者:
J
Jared Parsons
提交者:
GitHub
12月 13, 2017
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #23683 from jaredpar/fix-restore
Move to dotnet restore
上级
0923887a
60a80062
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
66 addition
and
90 deletion
+66
-90
build/ToolsetPackages/RoslynToolset.csproj
build/ToolsetPackages/RoslynToolset.csproj
+29
-25
build/scripts/build-utils.ps1
build/scripts/build-utils.ps1
+21
-20
build/scripts/build.ps1
build/scripts/build.ps1
+7
-6
build/scripts/generate-compiler-code.ps1
build/scripts/generate-compiler-code.ps1
+3
-6
build/scripts/test-determinism.ps1
build/scripts/test-determinism.ps1
+2
-1
src/Tools/MicroBuild/microbuild.ps1
src/Tools/MicroBuild/microbuild.ps1
+2
-30
src/Tools/MicroBuild/publish-assets.ps1
src/Tools/MicroBuild/publish-assets.ps1
+2
-2
未找到文件。
build/ToolsetPackages/RoslynToolset.csproj
浏览文件 @
9866191f
...
...
@@ -4,36 +4,40 @@
<PropertyGroup>
<TargetFrameworks>
$(RoslynPortableTargetFrameworks)
</TargetFrameworks>
<NonShipping>
true
</NonShipping>
<OutputType>
Library
</OutputType>
<DisableImplicitFrameworkReferences>
false
</DisableImplicitFrameworkReferences>
</PropertyGroup>
<ItemGroup>
<PackageReference
Include=
"Microsoft.Net.Sdk"
Version=
"$(MicrosoftNetSdkVersion)"
/>
<PackageReference
Include=
"Microsoft.Build.Logging.StructuredLogger"
Version=
"$(MicrosoftBuildLoggingStructuredLoggerVersion)"
/>
<PackageReference
Include=
"MicroBuild.Core.Sentinel"
Version=
"$(MicroBuildCoreSentinelVersion)"
/>
<PackageReference
Include=
"MicroBuild.Core"
Version=
"$(MicroBuildCoreVersion)"
/>
<PackageReference
Include=
"MicroBuild.Plugins.SwixBuild"
Version=
"$(MicroBuildPluginsSwixBuildVersion)"
/>
<PackageReference
Include=
"Microsoft.NETCore.Platforms"
Version=
"$(MicrosoftNETCorePlatformsVersion)"
/>
<PackageReference
Include=
"Microsoft.DiaSymReader.Native"
Version=
"$(MicrosoftDiaSymReaderNativeVersion)"
/>
<PackageReference
Include=
"Microsoft.DotNet.Build.Tasks.Feed"
Version=
"$(MicrosoftDotNetBuildTasksFeedVersion)"
/>
<PackageReference
Include=
"Microsoft.Net.Compilers"
Version=
"$(MicrosoftNetCompilersVersion)"
/>
<PackageReference
Include=
"Microsoft.NETCore.Compilers"
Version=
"$(MicrosoftNETCoreCompilersVersion)"
/>
<PackageReference
Include=
"Microsoft.Net.RoslynDiagnostics"
Version=
"$(MicrosoftNetRoslynDiagnosticsVersion)"
/>
<PackageReference
Include=
"FakeSign"
Version=
"$(FakeSignVersion)"
/>
<PackageReference
Include=
"xunit"
Version=
"$(xunitVersion)"
/>
<PackageReference
Include=
"xunit.analyzers"
Version=
"$(xunitanalyzersVersion)"
/>
<PackageReference
Include=
"xunit.runner.console"
Version=
"$(xunitrunnerconsoleVersion)"
/>
<PackageReference
Include=
"RoslynDependencies.OptimizationData"
Version=
"$(RoslynDependenciesOptimizationDataVersion)"
/>
<PackageReference
Include=
"RoslynTools.ReferenceAssemblies"
Version=
"$(RoslynToolsReferenceAssembliesVersion)"
/>
<PackageReference
Include=
"pdb2pdb"
Version=
"$(Pdb2PdbVersion)"
/>
<PackageReference
Include=
"Microsoft.Net.Sdk"
Version=
"$(MicrosoftNetSdkVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.Build.Logging.StructuredLogger"
Version=
"$(MicrosoftBuildLoggingStructuredLoggerVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.NETCore.Platforms"
Version=
"$(MicrosoftNETCorePlatformsVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.DotNet.Build.Tasks.Feed"
Version=
"$(MicrosoftDotNetBuildTasksFeedVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.Net.RoslynDiagnostics"
Version=
"$(MicrosoftNetRoslynDiagnosticsVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"xunit"
Version=
"$(xunitVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"xunit.analyzers"
Version=
"$(xunitanalyzersVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"xunit.runner.console"
Version=
"$(xunitrunnerconsoleVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynTools.ReferenceAssemblies"
Version=
"$(RoslynToolsReferenceAssembliesVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"pdb2pdb"
Version=
"$(Pdb2PdbVersion)"
ExcludeAssets=
"all"
/>
</ItemGroup>
<ItemGroup
Condition=
"'$(TargetFramework)' == 'net461'"
>
<PackageReference
Include=
"Microsoft.VSSDK.BuildTools"
Version=
"$(MicrosoftVSSDKBuildToolsVersion)"
/>
<PackageReference
Include=
"Roslyn.Build.Util"
Version=
"$(RoslynBuildUtilVersion)"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.LocateVS"
Version=
"$(RoslynToolsMicrosoftLocateVSVersion)"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.SignTool"
Version=
"$(RoslynToolsMicrosoftSignToolVersion)"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.VSIXExpInstaller"
Version=
"$(RoslynToolsMicrosoftVSIXExpInstallerVersion)"
/>
<PackageReference
Include=
"xunit.runner.wpf"
Version=
"$(xunitrunnerwpfVersion)"
/>
<PackageReference
Include=
"FakeSign"
Version=
"$(FakeSignVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"MicroBuild.Core.Sentinel"
Version=
"$(MicroBuildCoreSentinelVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"MicroBuild.Core"
Version=
"$(MicroBuildCoreVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"MicroBuild.Plugins.SwixBuild"
Version=
"$(MicroBuildPluginsSwixBuildVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.DiaSymReader.Native"
Version=
"$(MicrosoftDiaSymReaderNativeVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.Net.Compilers"
Version=
"$(MicrosoftNetCompilersVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.VSSDK.BuildTools"
Version=
"$(MicrosoftVSSDKBuildToolsVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Roslyn.Build.Util"
Version=
"$(RoslynBuildUtilVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynDependencies.OptimizationData"
Version=
"$(RoslynDependenciesOptimizationDataVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.LocateVS"
Version=
"$(RoslynToolsMicrosoftLocateVSVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.SignTool"
Version=
"$(RoslynToolsMicrosoftSignToolVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynTools.Microsoft.VSIXExpInstaller"
Version=
"$(RoslynToolsMicrosoftVSIXExpInstallerVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"RoslynTools.MSBuild"
Version=
"$(RoslynToolsMSBuildVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"xunit.runner.wpf"
Version=
"$(xunitrunnerwpfVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"vswhere"
Version=
"$(vswhereVersion)"
ExcludeAssets=
"all"
/>
</ItemGroup>
<ItemGroup
Condition=
"'$(TargetFramework)' == 'netcoreapp2.0'"
>
<PackageReference
Include=
"dotnet-xunit"
Version=
"$(dotnetxunitVersion)"
/>
<PackageReference
Include=
"dotnet-xunit"
Version=
"$(dotnetxunitVersion)"
ExcludeAssets=
"all"
/>
<PackageReference
Include=
"Microsoft.NETCore.Compilers"
Version=
"$(MicrosoftNETCoreCompilersVersion)"
ExcludeAssets=
"all"
/>
</ItemGroup>
</Project>
build/scripts/build-utils.ps1
浏览文件 @
9866191f
...
...
@@ -134,7 +134,7 @@ function Ensure-NuGet() {
}
# Ensure the proper SDK in installed in our %PATH%. This is how MSBuild locates the
# SDK.
# SDK.
Returns the location to the dotnet exe
function
Ensure-DotnetSdk
()
{
# Check to see if the specified dotnet installations meets our build requirements
...
...
@@ -191,10 +191,12 @@ function Ensure-BasicTool([string]$name, [string]$version = "") {
$version
=
Get-PackageVersion
$name
}
$p
=
Join-Path
(
Get-PackagesDir
)
"
$(
$name
)
.
$(
$version
)
"
$p
=
Join-Path
(
Get-PackagesDir
)
"
$(
$name
)
\
$(
$version
)
"
if
(
-not
(
Test-Path
$p
))
{
$nuget
=
Ensure-NuGet
Exec-Block
{
&
$nuget
install
$name
-OutputDirectory
(
Get-PackagesDir
)
-Version
$version
}
|
Out-Null
$toolsetProject
=
Join-Path
$repoDir
"build\ToolsetPackages\RoslynToolset.csproj"
$dotnet
=
Ensure-DotnetSdk
Write-Host
"Downloading
$name
"
Restore-Project
$dotnet
$toolsetProject
}
return
$p
...
...
@@ -389,34 +391,33 @@ function Get-VisualStudioDir() {
# Clear out the NuGet package cache
function
Clear-PackageCache
()
{
$
nuget
=
Ensure-NuGet
Exec-
Block
{
&
$nuget
locals
all
-clear
}
|
Out-Host
$
dotnet
=
Ensure-DotnetSdk
Exec-
Console
$dotnet
"nuget locals all --clear"
}
# Restore a single project
function
Restore-Project
([
string
]
$
fileName
,
[
string
]
$nuget
,
[
string
]
$msbuildDir
)
{
function
Restore-Project
([
string
]
$
dotnetExe
,
[
string
]
$projectFileName
)
{
$nugetConfig
=
Join-Path
$repoDir
"nuget.config"
$
filePath
=
$f
ileName
if
(
-not
(
Test-Path
$
f
ilePath
))
{
$
filePath
=
Join-Path
$repoDir
$f
ileName
$
projectFilePath
=
$projectF
ileName
if
(
-not
(
Test-Path
$
projectF
ilePath
))
{
$
projectFilePath
=
Join-Path
$repoDir
$projectF
ileName
}
Exec-Console
$
nuget
"restore
$filePath
-verbosity quiet -configfile
$nugetConfig
-MSBuildPath ""
$msbuildDir
"" -Project2ProjectTimeOut 1200
"
Exec-Console
$
dotnet
"restore --verbosity quiet --configfile
$nugetConfig
$projectFilePath
"
}
# Restore all of the projects that the repo consumes
function
Restore-Packages
([
string
]
$msbuildDir
=
""
,
[
string
]
$project
=
""
)
{
$nuget
=
Ensure-NuGet
if
(
$msbuildDir
-eq
""
)
{
$msbuildDir
=
Get-MSBuildDir
function
Restore-Packages
([
string
]
$dotnetExe
=
""
,
[
string
]
$project
=
""
)
{
if
(
$dotnetExe
-eq
""
)
{
$dotnetExe
=
Ensure-DotnetSdk
}
Write-Host
"Restore using
MSBuild at
$msbuildDir
"
Write-Host
"Restore using
dotnet at
$dotnetExe
"
if
(
$project
-ne
""
)
{
Write-Host
"Restoring project
$project
"
Restore-Project
-fileName
$project
-msbuildDir
$msbuildDir
-nuget
$nuge
t
Restore-Project
$dotnetExe
$projec
t
}
else
{
$all
=
@(
...
...
@@ -427,13 +428,13 @@ function Restore-Packages([string]$msbuildDir = "", [string]$project = "") {
foreach
(
$cur
in
$all
)
{
$both
=
$cur
.
Split
(
':'
)
Write-Host
"Restoring
$(
$both
[
0
]
)
"
Restore-Project
-fileName
$both
[
1
]
-msbuildDir
$msbuildDir
-nuget
$nuget
Restore-Project
$dotnetExe
$both
[
1
]
}
}
}
# Restore all of the projects that the repo consumes
function
Restore-All
([
string
]
$
msbuildDir
=
""
)
{
Restore-Packages
-
msbuildDir
$msbuildDir
function
Restore-All
([
string
]
$
dotnetExe
=
""
)
{
Restore-Packages
-
dotnetExe
$dotnetExe
}
build/scripts/build.ps1
浏览文件 @
9866191f
...
...
@@ -27,7 +27,6 @@ param (
[
switch
]
$sign
=
$false
,
[
switch
]
$pack
=
$false
,
[
switch
]
$binaryLog
=
$false
,
[
string
]
$msbuildDir
=
""
,
[
string
]
$signType
=
""
,
# Test options
...
...
@@ -61,7 +60,6 @@ function Print-Usage() {
Write-Host
" -sign Sign our binaries"
Write-Host
" -signType Type of sign: real, test, verify"
Write-Host
" -pack Create our NuGet packages"
Write-Host
" -msbuildDir MSBuild to use for operations"
Write-Host
" -binaryLog Create binary log for every MSBuild invocation"
Write-Host
""
Write-Host
"Test options"
...
...
@@ -181,7 +179,9 @@ function Make-BootstrapBuild() {
}
function
Build-Artifacts
()
{
Run-MSBuild
"Roslyn.sln"
"/p:DeployExtension=false"
if
(
$build
)
{
Run-MSBuild
"Roslyn.sln"
"/p:DeployExtension=false"
}
if
(
$buildAll
)
{
Build-ExtraSignArtifacts
...
...
@@ -283,6 +283,7 @@ function Build-NuGetPackages() {
$buildArgs
= '/p:SkipReleaseVersion=true /p:SkipPreReleaseVersion=true'
}
Ensure-NuGet | Out-Null
Run-MSBuild "
src\NuGet\NuGet.proj
"
$buildArgs
}
...
...
@@ -597,7 +598,7 @@ try {
Process-Arguments
$msbuild
,
$msbuildDir
=
Ensure-MSBuildAndDir
-msbuildDir
$msbuildDir
$msbuild
=
Ensure-MSBuild
$dotnet
=
Ensure-DotnetSdk
$buildConfiguration
=
if
(
$release
)
{
"Release"
}
else
{
"Debug"
}
$configDir
=
Join-Path
$binariesDir
$buildConfiguration
...
...
@@ -615,7 +616,7 @@ try {
if
(
$restore
)
{
Write-Host
"Running restore"
Restore-All
-msbuildDir
$msbuildDir
Restore-All
$dotnet
}
if
(
$isAnyTestSpecial
)
{
...
...
@@ -627,7 +628,7 @@ try {
$bootstrapDir
=
Make-BootstrapBuild
}
if
(
$build
)
{
if
(
$build
-or
$pack
)
{
Build-Artifacts
}
...
...
build/scripts/generate-compiler-code.ps1
浏览文件 @
9866191f
...
...
@@ -86,10 +86,7 @@ function Run-GetText() {
# Build all of the tools that we need to generate the syntax trees and ensure
# they are in a published / runnable state.
function Build-Tools() {
$msbuild
= Ensure-MSBuild
$msbuildDir
= Split-Path -parent
$msbuild
$nuget
= Ensure-NuGet
$dotnet
= Ensure-DotnetSdk
$list
= @(
'boundTreeGenerator;BoundTreeGenerator;BoundTreeGenerator\CompilersBoundTreeGenerator.csproj',
'csharpErrorFactsGenerator;CSharpErrorFactsGenerator;CSharpErrorFactsGenerator\CSharpErrorFactsGenerator.csproj',
...
...
@@ -106,8 +103,8 @@ function Build-Tools() {
$proj
=
$all
[2]
$fileName
= [IO.Path]::GetFileNameWithoutExtension(
$proj
)
Write-Host "
Building
$fileName
"
Restore-Project
$
proj
-nuget
$nuget
-msbuildDir
$msbuildDir
Exec-Command
$
msbuild
"
/t:P
ublish
/p:Configuration
=
Debug
/p:RuntimeIdentifier
=
win-x64
/v:m
$proj
" | Out-Null
Restore-Project
$
dotnet
$proj
Exec-Command
$
dotnet
"
p
ublish
/p:Configuration
=
Debug
/p:RuntimeIdentifier
=
win-x64
/v:m
$proj
" | Out-Null
$exePath
= Join-Path
$binariesDir
"
Debug\Exes\
$fileName
\win-x64\publish\
$
(
$exeName
)
.exe"
if
(
-not
(
Test-Path
$exePath
))
{
...
...
build/scripts/test-determinism.ps1
浏览文件 @
9866191f
...
...
@@ -26,7 +26,7 @@ function Run-Build([string]$rootDir, [switch]$restore = $false, [string]$logFile
if
(
$restore
)
{
Write-Host
"Restoring the packages"
Restore-Project
-fileName
"Roslyn.sln"
-nuget
(
Ensure-NuGet
)
-msbuildDir
(
Split-Path
-parent
$msbuild
)
Restore-Project
$dotnet
"Roslyn.sln"
}
$args
=
"/nologo /v:m /nodeReuse:false /m /p:DebugDeterminism=true /p:BootstrapBuildPath=
$
script
:
bootstrapDir
/p:Features=
`"
debug-determinism
`"
/p:UseRoslynAnalyzers=false Roslyn.sln"
...
...
@@ -197,6 +197,7 @@ function Run-Test() {
try
{
.
(
Join-Path
$PSScriptRoot
"build-utils.ps1"
)
$dotnet
=
Ensure-DotnetSdk
$msbuild
=
Ensure-MSBuild
if
((
$bootstrapDir
-eq
""
)
-or
(
-not
([
IO.Path
]::
IsPathRooted
(
$
script
:
bootstrapDir
))))
{
Write-Host
"The bootstrap build path must be absolute"
...
...
src/Tools/MicroBuild/microbuild.ps1
浏览文件 @
9866191f
...
...
@@ -3,7 +3,6 @@ param (
[
switch
]
$restore
=
$false
,
[
switch
]
$release
=
$false
,
[
switch
]
$official
=
$false
,
[
string
]
$msbuildDir
=
""
,
[
switch
]
$cibuild
=
$false
,
[
string
]
$branchName
=
"master"
,
[
switch
]
$testDesktop
=
$false
,
...
...
@@ -29,7 +28,6 @@ function Print-Usage() {
Write-Host
" -release Perform release build (default is debug)"
Write-Host
" -restore Restore packages"
Write-Host
" -official Perform an official build"
Write-Host
" -msbuildDir MSBuild to use for operations"
Write-Host
" -cibuild Run CI specific operations"
Write-Host
" -testDesktop Run unit tests"
Write-Host
" -publishType Publish to run: vsts, blob or none (default is none)"
...
...
@@ -39,30 +37,6 @@ function Print-Usage() {
Write-Host
" -help Print this message"
}
function
Run-MSBuild
([
string
]
$buildArgs
=
""
,
[
string
]
$logFile
=
""
,
[
switch
]
$parallel
=
$true
)
{
$args
=
"/nologo /nodeReuse:false /consoleloggerparameters:Verbosity=minimal /p:DeployExtension=false /p:Configuration=
$config
"
;
if
(
$parallel
)
{
$args
+=
" /m"
}
if
(
$official
)
{
$args
+=
" /p:OfficialBuild=true"
}
if
(
$logFile
-ne
""
)
{
$args
+=
" /filelogger /fileloggerparameters:Verbosity=normal;logFile=
$logFile
"
;
}
if
(
$release
)
{
$args
+=
" /p:Configuration=Release"
}
$args
+=
"
$buildArgs
"
Exec-Console
$msbuild
$args
}
# Create the Insertion folder. This is where the insertion tool pulls all of its
# binaries from.
function
Copy-InsertionItems
()
{
...
...
@@ -115,17 +89,15 @@ try {
# one job runs with a clean cache and assures all packages we depend on are restored during
# the restore phase. As opposed to getting lucky based on a NuGet being available in the cache.
if
(
$cibuild
)
{
$nuget
=
Ensure-NuGet
Exec-Block
{
&
$nuget
locals
all
-clear
}
|
Out-Host
Clear-PackageCache
}
$msbuild
,
$msbuildDir
=
Ensure-MSBuildAndDir
-msbuildDir
$msbuildDir
$scriptDir
=
Join-Path
$repoDir
"build\scripts"
$config
=
if
(
$release
)
{
"Release"
}
else
{
"Debug"
}
$configDir
=
Join-Path
$binariesDir
$config
$setupDir
=
Join-Path
$repoDir
"src\Setup"
Exec-Block
{
&
(
Join-Path
$scriptDir
"build.ps1"
)
-restore
:
$restore
-buildAll
-cibuild
:
$cibuild
-official
:
$official
-
msbuildDir
$msbuildDir
-
release
:
$release
-sign
-signType
$signType
-pack
-testDesktop
:
$testDesktop
-binaryLog
}
Exec-Block
{
&
(
Join-Path
$scriptDir
"build.ps1"
)
-restore
:
$restore
-buildAll
-cibuild
:
$cibuild
-official
:
$official
-release
:
$release
-sign
-signType
$signType
-pack
-testDesktop
:
$testDesktop
-binaryLog
}
Copy-InsertionItems
# Insertion scripts currently look for a sentinel file on the drop share to determine that the build was green
...
...
src/Tools/MicroBuild/publish-assets.ps1
浏览文件 @
9866191f
...
...
@@ -48,7 +48,7 @@ function Publish-NuGet([string]$packageDir, [string]$uploadUrl) {
}
if (-not
$test
) {
Exec-Console
$
nuget
"
push
$nupkg
-Source
$uploadUrl
-ApiKey
$apiKey
-NonInteractive
-Verbosity
quiet
"
Exec-Console
$
dotnet
"
nuget
push
$nupkg
--source
$uploadUrl
--apiKey
$apiKey
-v
q
"
}
}
}
...
...
@@ -147,7 +147,7 @@ function Normalize-BranchName([string]$branchName) {
try
{
.
(
Join-Path
$PSScriptRoot
"..\..\..\build\scripts\build-utils.ps1"
)
$
nuget
=
Ensure-NuGet
$
dotnet
=
Ensure-DotnetExe
$nugetDir
=
Join-Path
$configDir
"NuGet"
if
(
$configDir
-eq
""
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录