This commit is contained in:
OniriCorpe 2024-03-01 03:10:21 +01:00
parent 7a4bad404b
commit 9e9cab0c3e

View file

@ -83,7 +83,7 @@ function checkout_tag()
function build() function build()
{ {
# check if the build branch type is coherent between what the user has specified and what is entered in the changelog # check if the build branch type is coherent between what the user has specified and what is entered in the changelog
if ! [[ head -n 1 debian/changelog == *"$BRANCH"* ]]; then if ! [[ $(head -n 1 debian/changelog == *"$BRANCH"*) ]]; then
echo "The specified branch type is not coherent with the changelog one!" echo "The specified branch type is not coherent with the changelog one!"
exit 1 exit 1
fi fi