check-vcs-changes.sh 287 B

12345678
  1. #!/bin/sh
  2. set -e -x
  3. if [ -n "$PLUGIN_IGNORE" -a \( -n "$PLUGIN_POSITIVE" -o -n "$PLUGIN_NEGATIVE" \) ]; then
  4. set "$PLUGIN_IGNORE" "$PLUGIN_POSITIVE" "$PLUGIN_NEGATIVE"
  5. fi
  6. git diff --name-only "$DRONE_COMMIT_AFTER" "$DRONE_COMMIT_BEFORE" | ./check-some-are-unignored.sh "$1" "$2" "$3"