vp-build/common/travis/changed_templates.sh

7 lines
221 B
Bash
Executable File

#!/bin/sh
#
# changed_templates.sh
/bin/echo -e '\x1b[32mChanged packages:\x1b[0m'
git diff --name-status FETCH_HEAD...HEAD | grep "^[AM].*srcpkgs/[^/]*/template$" | cut -d/ -f 2 | tee /tmp/templates | sed "s/^/ /" >&2