Skip to content

Commit fb283e1

Browse files
committed
Test with tox in release script
1 parent a208bad commit fb283e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev-bin/release.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ version="${BASH_REMATCH[1]}"
2121
date="${BASH_REMATCH[2]}"
2222
notes="$(echo "${BASH_REMATCH[3]}" | sed -n -e '/^[0-9]\+\.[0-9]\+\.[0-9]\+/,$!p')"
2323

24-
if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
24+
if [[ "$date" != "$(date +"%Y-%m-%d")" ]]; then
2525
echo "$date is not today!"
2626
exit 1
2727
fi
@@ -37,7 +37,7 @@ perl -pi -e "s/(?<=__version__ = \").+?(?=\")/$version/gsm" geoip2/__init__.py
3737
perl -pi -e "s/(?<=^version = \").+?(?=\")/$version/gsm" pyproject.toml
3838

3939
echo $"Test results:"
40-
python setup.py test
40+
tox
4141

4242
echo $'\nDiff:'
4343
git diff

0 commit comments

Comments
 (0)