Disable fast-fail to let CI actually run even though beta is broken
[rust-lightning] / ci / check-each-commit.sh
1 #!/bin/sh
2 if [ "$1" = "" ]; then
3         echo "USAGE: $0 remote/head_branch"
4         echo "eg $0 upstream/main"
5         exit 1
6 fi
7
8 set -e
9 set -x
10
11 if [ "$(git log --pretty="%H %D" | grep "^[0-9a-f]*.* $1")" = "" ]; then
12         echo "It seems like the current checked-out commit is not based on $1"
13         exit 1
14 fi
15 git rebase --exec ci/check-compiles.sh $1