GeezerVison is showing github.com — build: fix bad cherry-pick for vcbuild.bat build-release · nodejs/node@3864af9
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: vcbuild.bat +5-5Lines changed: 5 additions & 5 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -36,9 +36,9 @@ set noperfctr_msi_arg= |
36 | 36 | set i18n_arg= |
37 | 37 | set download_arg= |
38 | 38 | set release_urls_arg= |
| 39 | +set build_release= |
39 | 40 |
|
40 | 41 | :next-arg |
41 | | -set build_release= |
42 | 42 | if "%1"=="" goto args-done |
43 | 43 | if /i "%1"=="debug" set config=Debug&goto arg-ok |
44 | 44 | if /i "%1"=="release" set config=Release&goto arg-ok |
@@ -78,17 +78,17 @@ echo Warning: ignoring invalid command line option `%1`. |
78 | 78 | :arg-ok |
79 | 79 | shift |
80 | 80 | goto next-arg |
| 81 | + |
| 82 | +:args-done |
| 83 | + |
81 | 84 | if defined build_release ( |
82 | | - set nosnapshot=1 |
83 | 85 | set config=Release |
84 | 86 | set msi=1 |
85 | 87 | set licensertf=1 |
86 | 88 | set download_arg="--download=all" |
87 | 89 | set i18n_arg=small-icu |
88 | 90 | ) |
89 | 91 |
|
90 | | - |
91 | | -:args-done |
92 | 92 | if "%config%"=="Debug" set debug_arg=--debug |
93 | 93 | if defined nosnapshot set snapshot_arg=--without-snapshot |
94 | 94 | if defined noetw set noetw_arg=--without-etw& set noetw_msi_arg=/p:NoETW=1 |
@@ -260,10 +260,10 @@ echo vcbuild.bat : builds release build |
260 | 260 | echo vcbuild.bat debug : builds debug build |
261 | 261 | echo vcbuild.bat release msi : builds release build and MSI installer package |
262 | 262 | echo vcbuild.bat test : builds debug build and runs tests |
| 263 | +echo vcbuild.bat build-release : builds the release distribution as used by nodejs.org |
263 | 264 | goto exit |
264 | 265 |
|
265 | 266 | :exit |
266 | | -echo vcbuild.bat build-release : builds the release distribution as used by nodejs.org |
267 | 267 | goto :EOF |
268 | 268 |
|
269 | 269 | rem *************** |
|