Do not require Source Link info for VMR smoke tests (#16241)
This commit is contained in:
parent
1400493fc0
commit
4918bfbd81
1 changed files with 37 additions and 34 deletions
|
@ -114,6 +114,8 @@ while :; do
|
||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# For build purposes, we need to make sure we have all the SourceLink information
|
||||||
|
if [ "$alternateTarget" != "true" ]; then
|
||||||
GIT_DIR="$SCRIPT_ROOT/.git"
|
GIT_DIR="$SCRIPT_ROOT/.git"
|
||||||
if [ -f "$GIT_DIR/index" ]; then # We check for index because if outside of git, we create config and HEAD manually
|
if [ -f "$GIT_DIR/index" ]; then # We check for index because if outside of git, we create config and HEAD manually
|
||||||
if [ -n "$sourceRepository" ] || [ -n "$sourceVersion" ] || [ -n "$releaseManifest" ]; then
|
if [ -n "$sourceRepository" ] || [ -n "$sourceVersion" ] || [ -n "$releaseManifest" ]; then
|
||||||
|
@ -155,6 +157,7 @@ else
|
||||||
echo "url=\"$sourceRepository\"" >> "$GIT_DIR/config"
|
echo "url=\"$sourceRepository\"" >> "$GIT_DIR/config"
|
||||||
echo "$sourceVersion" > "$GIT_DIR/HEAD"
|
echo "$sourceVersion" > "$GIT_DIR/HEAD"
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "$CUSTOM_PACKAGES_DIR" != "" ]; then
|
if [ "$CUSTOM_PACKAGES_DIR" != "" ]; then
|
||||||
if [ "$runningSmokeTests" == "true" ]; then
|
if [ "$runningSmokeTests" == "true" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue