You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Include FSharp pre-release packages in the SDK transport package
- Enable the SDK to publish the stable-preview packages
- Add a pre-release iteration so that previews can be differentiated.
- Remove the version substitution in the shims project. There was no replacement happening.
Co-authored-by: Matt Mitchell <[email protected]>
<!-- When building the .NET product, there's no need to publish Windows PDBs. Any conversion to Windows PDBs will be done during staging, if necessary. -->
Copy file name to clipboardExpand all lines: eng/Build.ps1
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -69,6 +69,7 @@ param (
69
69
[string]$officialSkipTests="false",
70
70
[switch]$noVisualStudio,
71
71
[switch][Alias('pb')]$productBuild,
72
+
[switch]$fromVMR,
72
73
[switch]$skipBuild,
73
74
[switch]$compressAllMetadata,
74
75
[switch]$buildnorealsig=$true,
@@ -135,6 +136,7 @@ function Print-Usage() {
135
136
Write-Host" -dontUseGlobalNuGetCache Do not use the global NuGet cache"
136
137
Write-Host" -noVisualStudio Only build fsc and fsi as .NET Core applications. No Visual Studio required. '-configuration', '-verbosity', '-norestore', '-rebuild' are supported."
137
138
Write-Host" -productBuild Build the repository in product-build mode."
139
+
Write-Host" -fromVMR Set when building from within the VMR."
138
140
Write-Host" -skipbuild Skip building product"
139
141
Write-Host" -compressAllMetadata Build product with compressed metadata"
140
142
Write-Host" -buildnorealsig Build product with realsig- (default use realsig+, where necessary)"
@@ -302,7 +304,8 @@ function BuildSolution([string] $solutionName, $packSolution) {
Copy file name to clipboardExpand all lines: eng/build.sh
+12-6Lines changed: 12 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ usage()
37
37
echo" --prepareMachine Prepare machine for CI run, clean up processes after build"
38
38
echo" --sourceBuild Build the repository in source-only mode."
39
39
echo" --productBuild Build the repository in product-build mode."
40
+
echo" --fromVMR Set when building from within the VMR"
40
41
echo" --buildnorealsig Build product with realsig- (default use realsig+ where necessary)"
41
42
echo" --tfm Override the default target framework"
42
43
echo""
@@ -75,10 +76,10 @@ skip_build=false
75
76
prepare_machine=false
76
77
source_build=false
77
78
product_build=false
79
+
from_vmr=false
78
80
buildnorealsig=true
79
81
testbatch=""
80
82
properties=""
81
-
82
83
docker=false
83
84
args=""
84
85
@@ -176,6 +177,9 @@ while [[ $# > 0 ]]; do
176
177
--productbuild|--product-build|-pb)
177
178
product_build=true
178
179
;;
180
+
--fromvmr|--from-vmr)
181
+
from_vmr=true
182
+
;;
179
183
--buildnorealsig)
180
184
buildnorealsig=true
181
185
;;
@@ -184,7 +188,7 @@ while [[ $# > 0 ]]; do
184
188
shift
185
189
;;
186
190
/p:*)
187
-
properties="$properties$1"
191
+
properties+=("$1")
188
192
;;
189
193
*)
190
194
echo"Invalid argument: $1"
@@ -303,14 +307,15 @@ function BuildSolution {
303
307
fi
304
308
305
309
BuildMessage="Error building tools"
306
-
local args="publish$repo_root/proto.proj$blrestore$bltools/p:Configuration=Proto/p:DotNetBuildRepo=$product_build/p:DotNetBuildSourceOnly=$source_build$properties"
310
+
local args=("publish""$repo_root/proto.proj""$blrestore""$bltools""/p:Configuration=Proto""/p:DotNetBuild=$product_build""/p:DotNetBuildSourceOnly=$source_build""/p:DotNetBuildFromVMR=$from_vmr"${properties[@]+"${properties[@]}"})
0 commit comments