dotnet-installer/eng/setbuildinfo.sh

19 lines
492 B
Bash
Raw Normal View History

2018-11-28 02:48:13 +00:00
#!/bin/bash
shopt -s nocasematch
if [[ "$1" == ARM* ]]
then
echo "ARM"
echo "##vso[task.setvariable variable=TestParameter]"
echo "##vso[task.setvariable variable=RunTests]false"
else
echo "NOT ARM"
echo "##vso[task.setvariable variable=TestParameter]--test"
echo "##vso[task.setvariable variable=RunTests]true"
fi
if [[ "$AdditionalBuildParameters" == '$(_AdditionalBuildParameters)' ]]
then
echo "##vso[task.setvariable variable=AdditionalBuildParameters]"
2018-11-28 02:48:13 +00:00
fi