Versioning doesn't report dirty repo for untracked files and tests
@@ -7,6 +7,6 @@ GIT_BRANCH=${GIT_BRANCH:-$(git name-rev --name-only HEAD)}
GIT_COMMITS=$(echo "${GIT_DESCRIBE}" | awk -F - '{ print $2 }')
GIT_SHA=$(echo "${GIT_DESCRIBE}" | awk -F - '{ print $3 }' )
GIT_TAG=$(echo "${GIT_DESCRIBE}" | awk -F - '{ print $1 }')
-[ -z "$(git status --porcelain)" ] || GIT_TAG="${GIT_TAG}-dirty"
+[ -z "$(git status --porcelain -uno | grep -v -E '^ M (integration|e2e|docs)')" ] || GIT_TAG="${GIT_TAG}-dirty"
ARTIFACT_VERSION="${GIT_TAG}-${GIT_COMMITS}.${GIT_SHA}"
