Ignore users folder for Travis tagging
This commit is contained in:
parent
b23d2a68dc
commit
f67950df27
1 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@ increment_version () {
|
||||||
|
|
||||||
git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE}
|
git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE}
|
||||||
|
|
||||||
NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/)' | grep -Ev '^(docs/)' | wc -l)
|
NEFM=$(git diff --name-only -n 1 ${TRAVIS_COMMIT_RANGE} | grep -Ev '^(keyboards/)' | grep -Ev '^(docs/)' | grep -Ev '^(users/)' | wc -l)
|
||||||
if [[ $NEFM -gt 0 ]] ; then
|
if [[ $NEFM -gt 0 ]] ; then
|
||||||
echo "Essential files modified."
|
echo "Essential files modified."
|
||||||
git fetch --tags
|
git fetch --tags
|
||||||
|
|
Loading…
Reference in a new issue