Skip to content

Commit 14556ac

Browse files
committed
CDRIVER-2285 check that NEWS is a UTF-8 file
1 parent 58a50ab commit 14556ac

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.evergreen/check-release-archive.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
set -o xtrace # Write all commands first to stderr
33
set -o errexit # Exit the script with error if any of the commands fail
44

5+
# Check that a CLion user didn't accidentally convert NEWS from UTF-8 to ASCII
6+
news_type=`file NEWS`
7+
echo "NEWS file type is $news_type"
8+
case "$news_type" in
9+
*ASCII*) exit 1 ;;
10+
esac
11+
512
# Use modern sphinx-build from venv.
613
. venv/bin/activate
714
which sphinx-build

0 commit comments

Comments
 (0)