Merge pull request #16281 from alpencolt/clr-extra-args-4-cmake
[platform/upstream/coreclr.git] / publish-packages.sh
index d5d4caa..1d0f13b 100755 (executable)
@@ -8,8 +8,13 @@ usage()
     echo "   -AzureToken=\"access token\""
     echo "   -BuildType=\"Configuration\""
     echo "   -BuildArch=\"Architecture\""
+    echo "For publishing to Azure, one of the following properties is required."
+    echo "   -PublishPackages        Pass this switch to publish product packages" 
+    echo "   -PublishSymbols         Pass this switch to publish symbol packages"
     echo "To specify the name of the container to publish into, use the following property:"
     echo "   -Container=\"container name\""
+    echo "To specify the OS you're building for, use the following property:"
+    echo "   -DistroRiD=\"RID\""       
     echo "Configuration can be Release, Checked, or Debug"
     echo "Architecture can be x64, x86, arm, or arm64"
     exit 1
@@ -18,7 +23,6 @@ usage()
 working_tree_root="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
 
 $working_tree_root/run.sh publish-packages -BuildOS $*
-$working_tree_root/run.sh publish-packages -BuildOS -distroRid -PublishTestNativeBins $*
 if [ $? -ne 0 ]
 then
     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."