Skip to content

Commit

Permalink
Refactor release process to use Tox for better environment management
Browse files Browse the repository at this point in the history
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  • Loading branch information
thombashi committed Dec 29, 2024
1 parent 7c865ab commit 243cfd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ readme:

.PHONY: release
release:
cd $(PKG_BUILD_DIR) && $(PYTHON) setup.py release --sign --verbose
$(PYTHON) -m tox -e release
$(MAKE) clean

.PHONY: setup-ci
Expand Down
6 changes: 6 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -89,3 +89,9 @@ deps =
readmemaker>=1.1.0
commands =
python make_readme.py

[testenv:release]
deps =
releasecmd
commands =
python setup.py release --sign --skip-uploading --verbose

0 comments on commit 243cfd4

Please sign in to comment.