release.sh: use diff --color

colordiff is no longer necessary, and not installed on many systems.
next
Michael Stapelberg 2020-04-22 09:32:22 +02:00
parent f9ed0db694
commit f5ab2c919f
1 changed files with 2 additions and 4 deletions

View File

@ -69,11 +69,9 @@ cp build/i3-${RELEASE_VERSION}.tar.bz2 .
echo "Differences in the release tarball file lists:"
diff -u \
diff --color -u \
<(tar tf ../i3-${PREVIOUS_VERSION}.tar.bz2 | sed "s,i3-${PREVIOUS_VERSION}/,,g" | sort) \
<(tar tf i3-${RELEASE_VERSION}.tar.bz2 | sed "s,i3-${RELEASE_VERSION}/,,g" | sort) \
| colordiff
<(tar tf i3-${RELEASE_VERSION}.tar.bz2 | sed "s,i3-${RELEASE_VERSION}/,,g" | sort)
gpg --armor -b i3-${RELEASE_VERSION}.tar.bz2