mirror of https://github.com/istio/istio.io.git
Automator: update common-files@master in istio/istio.io@master (#7836)
This commit is contained in:
parent
da34be26c1
commit
613972315e
|
@ -1 +1 @@
|
|||
db3352f9c99152f45a63102feefddb5b89262025
|
||||
d30e9b9cf226389e312311ae73ac549c48600a26
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
# limitations under the License.
|
||||
|
||||
if BUILD_GIT_REVISION=$(git rev-parse HEAD 2> /dev/null); then
|
||||
if [[ -n "$(git status --porcelain 2>/dev/null)" ]]; then
|
||||
if [[ -z "${IGNORE_DIRTY_TREE}" ]] && [[ -n "$(git status --porcelain 2>/dev/null)" ]]; then
|
||||
BUILD_GIT_REVISION=${BUILD_GIT_REVISION}"-dirty"
|
||||
fi
|
||||
else
|
||||
|
@ -30,9 +30,8 @@ else
|
|||
fi
|
||||
|
||||
# Check for local changes
|
||||
if git diff-index --quiet HEAD --; then
|
||||
tree_status="Clean"
|
||||
else
|
||||
tree_status="Clean"
|
||||
if [[ -z "${IGNORE_DIRTY_TREE}" ]] && ! git diff-index --quiet HEAD --; then
|
||||
tree_status="Modified"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue