5831d29cc27cce3888cdda8662eab92bf38bd264
[platform/upstream/coreclr.git] / publish-packages.cmd
1 @if "%_echo%" neq "on" echo off
2 setlocal EnableDelayedExpansion
3
4 if /I [%1] == [-?] goto Usage
5 if /I [%1] == [-help] goto Usage
6
7 echo %~dp0run.cmd publish-packages %*
8 call %~dp0run.cmd publish-packages %*
9 @exit /b %ERRORLEVEL%
10
11 :Usage
12 echo.
13 echo Publishes the NuGet packages to the specified location.
14 echo   -?     - Prints Usage
15 echo   -help  - Prints Usage
16 echo For publishing to Azure the following properties are required.
17 echo   -AzureAccount="account name"
18 echo   -AzureToken="access token"
19 echo   -BuildType="Configuration"
20 echo   -BuildArch="Architecture"
21 echo Architecture can be x64, x86, arm, or arm64
22 echo Configuration can be Release, Debug, or Checked
23 exit /b