#!/bin/bash
# Determine if the following files changed in the branch
git diff --name-only `git rev-list HEAD | tail -n 2 | head -n 1` HEAD LICENSE README.md
#!/bin/bash
# Determine if the following files changed in the branch
git diff --exit-code --name-only `git rev-list HEAD | tail -n 2 | head -n 1` HEAD LICENSE README.md
Check for changes to key files comparing the 2nd revision to the HEAD - but make the job fail if changes found
Check for changes to key files comparing the 2nd revision to the HEAD - but make the job fail if changes found
