Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9cd9f22

Browse files
committed
skip publishing packages unless the variablePB_PUBLISHTYPE is set tomyget
1 parent88379e7 commit9cd9f22

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎build.cmd‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,8 @@ REM ------------------ Report config -----------------------
389389

390390
REM after this point, ARG variable should not be used, use only BUILD_* or TEST_*
391391

392+
REM all PB_* variables override any settings
393+
392394
REM if the `PB_SKIPTESTS` variable is set to 'true' then no tests should be built or run, even if explicitly specified
393395
if /i"%PB_SKIPTESTS%"=="true" (
394396
setTEST_NET40_COMPILERUNIT_SUITE=0
@@ -400,6 +402,12 @@ if /i "%PB_SKIPTESTS%" == "true" (
400402
setTEST_VS_IDEUNIT_SUITE=0
401403
)
402404

405+
REM MyGet packages published as part of the build are only for nightly dogfooding, so any other value means publishing should be skipped
406+
REM The official build definition sets PB_PUBLISHTYPE to "myget" by default.
407+
if /inot"%PB_PUBLISHTYPE%"=="myget" (
408+
setPUBLISH_VSIX=0
409+
)
410+
403411
echo Build/Tests configuration:
404412
echo.
405413
echo BUILD_PROTO=%BUILD_PROTO%
@@ -416,6 +424,8 @@ echo BUILD_CONFIG=%BUILD_CONFIG%
416424
echo BUILD_PUBLICSIGN=%BUILD_PUBLICSIGN%
417425
echo.
418426
echo PB_SKIPTESTS=%PB_SKIPTESTS%
427+
echo PB_PUBLISHTYPE=%PB_PUBLISHTYPE%
428+
echo.
419429
echo TEST_NET40_COMPILERUNIT_SUITE=%TEST_NET40_COMPILERUNIT_SUITE%
420430
echo TEST_NET40_COREUNIT_SUITE=%TEST_NET40_COREUNIT_SUITE%
421431
echo TEST_NET40_FSHARP_SUITE=%TEST_NET40_FSHARP_SUITE%

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp