5 echo "Publishes the NuGet packages to the specified location."
6 echo "For publishing to Azure the following properties are required."
7 echo " -AzureAccount=\"account name\""
8 echo " -AzureToken=\"access token\""
9 echo " -BuildType=\"Configuration\""
10 echo " -BuildArch=\"Architecture\""
11 echo "For publishing to Azure, one of the following properties is required."
12 echo " -PublishPackages Pass this switch to publish product packages"
13 echo " -PublishSymbols Pass this switch to publish symbol packages"
14 echo "To specify the name of the container to publish into, use the following property:"
15 echo " -Container=\"container name\""
16 echo "To specify the OS you're building for, use the following property:"
17 echo " -DistroRiD=\"RID\""
18 echo "Configuration can be Release, Checked, or Debug"
19 echo "Architecture can be x64, x86, arm, or arm64"
23 working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
25 $working_tree_root/run.sh publish-packages -BuildOS $*
28 echo "ERROR: An error occurred while publishing packages; see $working_tree_root/publish-packages.log for more details. There may have been networking problems, so please try again in a few minutes."
32 echo "Publish completed successfully."