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 32
32
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.rpm" UploadPathSegment =" Runtime" />
33
33
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.tar.gz" UploadPathSegment =" Runtime" />
34
34
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.version" UploadPathSegment =" Runtime"
35
- Condition =" '$(PublishInstallerBaseVersion)' == 'true' " />
35
+ Condition =" '$(PublishInstallerBaseVersion)' == 'true' or '$(DotNetBuildRepo)' == 'true' " />
36
36
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.wixlib" UploadPathSegment =" Runtime" />
37
37
<_InstallersToPublish Include =" $(ArtifactsDir)installers\**\*.zip" UploadPathSegment =" Runtime" />
38
38
<!-- Remove wixpacks if not doing post-build signing, since they are not needed -->
64
64
the nupkgs pushed. Do not do this if building from source, since we want the source build intermediate package
65
65
to be published. Use ArcadeBuildFromSource as DotNetBuildFromSource is only set in the internal source build,
66
66
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'" />
68
68
69
69
<ItemsToPushToBlobFeed Include =" @(_ChecksumsToPublish)" >
70
70
<ManifestArtifactData >NonShipping=true</ManifestArtifactData >
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ verbosity='minimal'
18
18
run_restore=' '
19
19
run_build=true
20
20
run_pack=false
21
+ run_publish=false
21
22
run_tests=false
22
23
build_all=false
23
24
build_deps=true
@@ -62,6 +63,7 @@ Options:
62
63
--[no-]build Compile projects. (Implies --no-restore)
63
64
--[no-]pack Produce packages.
64
65
--[no-]test Run tests.
66
+ --[no-]publish Run publish.
65
67
66
68
--projects A list of projects to build. (Must be an absolute path.)
67
69
Globbing patterns are supported, such as \" $( pwd) /**/*.csproj\" .
@@ -152,6 +154,12 @@ while [[ $# -gt 0 ]]; do
152
154
-no-pack|-nopack)
153
155
run_pack=false
154
156
;;
157
+ -publish)
158
+ run_publish=true
159
+ ;;
160
+ -no-publish|-nopublish)
161
+ run_publish=false
162
+ ;;
155
163
-test|-t)
156
164
run_tests=true
157
165
;;
@@ -286,6 +294,7 @@ if [ "$run_build" = false ]; then
286
294
msbuild_args[${# msbuild_args[*]} ]=" -p:NoBuild=true"
287
295
fi
288
296
msbuild_args[${# msbuild_args[*]} ]=" -p:Pack=$run_pack "
297
+ msbuild_args[${# msbuild_args[*]} ]=" -p:Publish=$run_publish "
289
298
msbuild_args[${# msbuild_args[*]} ]=" -p:Test=$run_tests "
290
299
291
300
msbuild_args[${# msbuild_args[*]} ]=" -p:TargetArchitecture=$target_arch "
You can’t perform that action at this time.
0 commit comments