Bash程序  |  5行  |  145 B

#!/bin/bash

if git diff --name-only HEAD~1 HEAD | grep ChangeLog; then
    echo "##vso[task.setvariable variable=RunTests;isOutput=true]true"
fi