solana/ci/pr-snap.sh

14 lines
266 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#
2019-01-04 20:45:25 -08:00
# Only run publish-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
}
2019-01-04 20:45:25 -08:00
exec ci/publish-snap.sh