We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e206a commit 3210ce7Copy full SHA for 3210ce7
Makefile
@@ -31,6 +31,17 @@ build: clean-build ## Build wheel file using poetry
31
clean-build: ## clean build artifacts
32
@rm -rf dist
33
34
+.PHONY: publish
35
+publish: ## publish a release to pypi.
36
+ @echo "🚀 Publishing: Dry run."
37
+ @poetry config pypi-token.pypi $(PYPI_TOKEN)
38
+ @poetry publish --dry-run
39
+ @echo "🚀 Publishing."
40
+ @poetry publish
41
+
42
+.PHONY: build-and-publish
43
+build-and-publish: build publish ## Build and publish.
44
45
.PHONY: docs-test
46
docs-test: ## Test if documentation can be built without warnings or errors
47
@poetry run sphinx-build ./docs ./docs/_build $(O)
0 commit comments