solana/ci/pr-snap.sh

14 lines
250 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# Only run snap.sh for pull requests that modify files under /snap
#
2018-12-18 17:33:28 -08:00
set -e
cd "$(dirname "$0")"/..
2018-12-18 17:33:28 -08:00
ci/affects-files.sh ^snap/ || {
echo "Skipping snap build as no files under /snap were modified"
exit 0
}
exec ci/snap.sh