Skip to content

Commit

Permalink
feat: add make release to build files
Browse files Browse the repository at this point in the history
  • Loading branch information
LKI committed Dec 6, 2021
1 parent 4368626 commit bbbc7a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,12 @@ test:
.PHONY: pytest
pytest:
pytest


.PHONY: release
release:
rm -rf dist
python setup.py release
sed -i 's/chinesecalendar/chinese_calendar/g' setup.py
python setup.py release
twine upload dist/*

0 comments on commit bbbc7a2

Please sign in to comment.