Skip to content

Commit

Permalink
Relaxed checking of cabal's maintainer field.
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjosephmckeon authored Feb 6, 2024
1 parent 1e050c0 commit 16d6077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/check-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ then
fi

CABAL_MAINTAINER_VALID=true
if [ ${CABAL_MAINTAINER_FIELD} != ${MAINTAINER_EMAIL} ];
if [[ ! "${CABAL_MAINTAINER_FIELD}" =~ "${MAINTAINER_EMAIL}" ]];
then
CABAL_MAINTAINER_VALID=false
echo "You need to change the maintainer field in ${CABAL_FILE} to ${MAINTAINER_EMAIL}"
echo "The maintainer field in ${CABAL_FILE} needs to include ${MAINTAINER_EMAIL}"
fi

# Cabal: Ensure source-repository entry exists and is correct.
Expand Down

0 comments on commit 16d6077

Please sign in to comment.