Skip to content

Commit c3ff470

Browse files
committed
build: add safeguard against publishing dev version
1 parent 5b2c868 commit c3ff470

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ lint:
1515

1616
publish:
1717
rm -fr build dist .egg trio_websocket.egg-info
18+
! grep -q dev trio_websocket/_version.py
1819
$(PYTHON) -m build
1920
twine check dist/*
2021
twine upload dist/*

0 commit comments

Comments
 (0)