File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 3232 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.rpm" UploadPathSegment =" Runtime" />
3333 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.tar.gz" UploadPathSegment =" Runtime" />
3434 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.version" UploadPathSegment =" Runtime"
35- Condition =" '$(PublishInstallerBaseVersion)' == 'true' " />
35+ Condition =" '$(PublishInstallerBaseVersion)' == 'true' or '$(DotNetBuildRepo)' == 'true' " />
3636 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.wixlib" UploadPathSegment =" Runtime" />
3737 <_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.zip" UploadPathSegment =" Runtime" />
3838 <!-- Remove wixpacks if not doing post-build signing, since they are not needed -->
6464 the nupkgs pushed. Do not do this if building from source, since we want the source build intermediate package
6565 to be published. Use ArcadeBuildFromSource as DotNetBuildFromSource is only set in the internal source build,
6666 and Build.proj is invoked from the wrapper build. -->
67- <ItemsToPushToBlobFeed Remove =" @(ItemsToPushToBlobFeed)" Condition =" '$(OS)' != 'Windows_NT' and '$(PostBuildSign)' != 'true' and '$(ArcadeBuildFromSource )' != 'true'" />
67+ <ItemsToPushToBlobFeed Remove =" @(ItemsToPushToBlobFeed)" Condition =" '$(OS)' != 'Windows_NT' and '$(PostBuildSign)' != 'true' and '$(DotNetBuildRepo )' != 'true'" />
6868
6969 <ItemsToPushToBlobFeed Include =" @(_ChecksumsToPublish)" >
7070 <ManifestArtifactData >NonShipping=true</ManifestArtifactData >
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ verbosity='minimal'
1818run_restore=' '
1919run_build=true
2020run_pack=false
21+ run_publish=false
2122run_tests=false
2223build_all=false
2324build_deps=true
@@ -62,6 +63,7 @@ Options:
6263 --[no-]build Compile projects. (Implies --no-restore)
6364 --[no-]pack Produce packages.
6465 --[no-]test Run tests.
66+ --[no-]publish Run publish.
6567
6668 --projects A list of projects to build. (Must be an absolute path.)
6769 Globbing patterns are supported, such as \" $( pwd) /**/*.csproj\" .
@@ -152,6 +154,12 @@ while [[ $# -gt 0 ]]; do
152154 -no-pack|-nopack)
153155 run_pack=false
154156 ;;
157+ -publish)
158+ run_publish=true
159+ ;;
160+ -no-publish|-nopublish)
161+ run_publish=false
162+ ;;
155163 -test|-t)
156164 run_tests=true
157165 ;;
@@ -286,6 +294,7 @@ if [ "$run_build" = false ]; then
286294 msbuild_args[${# msbuild_args[*]} ]=" -p:NoBuild=true"
287295fi
288296msbuild_args[${# msbuild_args[*]} ]=" -p:Pack=$run_pack "
297+ msbuild_args[${# msbuild_args[*]} ]=" -p:Publish=$run_publish "
289298msbuild_args[${# msbuild_args[*]} ]=" -p:Test=$run_tests "
290299
291300msbuild_args[${# msbuild_args[*]} ]=" -p:TargetArchitecture=$target_arch "
You can’t perform that action at this time.
0 commit comments