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
|
||||
done
|
||||
|
||||
# For build purposes, we need to make sure we have all the SourceLink information
|
||||
if [ "$alternateTarget" != "true" ]; then
|
||||
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 [ -n "$sourceRepository" ] || [ -n "$sourceVersion" ] || [ -n "$releaseManifest" ]; then
|
||||
|
@ -155,6 +157,7 @@ else
|
|||
echo "url=\"$sourceRepository\"" >> "$GIT_DIR/config"
|
||||
echo "$sourceVersion" > "$GIT_DIR/HEAD"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$CUSTOM_PACKAGES_DIR" != "" ]; then
|
||||
if [ "$runningSmokeTests" == "true" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue