From 93ce69fa86cf908d8a76fe90b4720ea9a27b8dea Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 1 Feb 2020 15:35:15 +0100 Subject: "make release" -> "make publish" --- Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 49576bc..3d7a243 100644 --- a/Makefile +++ b/Makefile @@ -56,15 +56,9 @@ tox-py38: check-poetry ## Run pytest via tox with *python v3.8* pytest: check-poetry ## Run pytest poetry run pytest -release: ## Release new version [usage: v=rule] - # Update pyproject and changelog - poetry version $(v) - sed -i "" "s/\[Unreleased\]/\[$(VERSION)\] - $(shell date +%F)/" CHANGELOG.md - # Create commit and tag - git commit pyproject.toml CHANGELOG.md -m "Bump version to $(VERSION)" && git tag "v$(VERSION)" - git push && git push --tags - # Publish to pypi - poetry publish --build - - -.PHONY: help install lint fix test release \ No newline at end of file + +publish: ## Release new version to PyPi + poetry run publish + + +.PHONY: help install lint fix test publish \ No newline at end of file -- cgit v1.2.1 From 49af9f48a5dc48c9a2fb1f40296dd3124a56d625 Mon Sep 17 00:00:00 2001 From: JensDiemer Date: Sat, 1 Feb 2020 15:35:30 +0100 Subject: add "make update-rst-readme" --- Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3d7a243..e57a87a 100644 --- a/Makefile +++ b/Makefile @@ -56,6 +56,8 @@ tox-py38: check-poetry ## Run pytest via tox with *python v3.8* pytest: check-poetry ## Run pytest poetry run pytest +update-rst-readme: ## update README.rst from README.creole + poetry run update_rst_readme publish: ## Release new version to PyPi poetry run publish -- cgit v1.2.1