Skip to content

Commit a161e7d

Browse files
authored
Merge pull request #5180 from IntersectMBO/coot/release-script
Improvements to the release script
2 parents 39e9260 + addf5df commit a161e7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release-to-chap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ if [[ $REPORT == 1 ]] then
5353
for cbl in $(fd -e cabal); do
5454
v=$(grep '^version:' $cbl | awk '{print $2}')
5555
n=$(dirname $cbl)
56-
x=$(git --no-pager log --oneline $n-$v.. -- $(dirname $cbl) | wc -l)
56+
x=$(git --no-pager log --oneline $n-$v.. -- $(dirname $cbl) || true | wc -l)
5757
if [[ !($x == "0") ]]; then
5858
trace "$n changes since $v"
59-
git --no-pager log --oneline --graph $n-$v.. -- $(dirname $cbl)
59+
git --no-pager log --oneline --graph $n-$v.. -- $(dirname $cbl) || true
6060
fi
6161
done
6262
else

0 commit comments

Comments
 (0)