Skip to content

Commit

Permalink
fix build-and-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelduchesne committed Sep 19, 2024
1 parent a0e206a commit 3210ce7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,17 @@ build: clean-build ## Build wheel file using poetry
clean-build: ## clean build artifacts
@rm -rf dist

.PHONY: publish
publish: ## publish a release to pypi.
@echo "🚀 Publishing: Dry run."
@poetry config pypi-token.pypi $(PYPI_TOKEN)
@poetry publish --dry-run
@echo "🚀 Publishing."
@poetry publish

.PHONY: build-and-publish
build-and-publish: build publish ## Build and publish.

.PHONY: docs-test
docs-test: ## Test if documentation can be built without warnings or errors
@poetry run sphinx-build ./docs ./docs/_build $(O)
Expand Down

0 comments on commit 3210ce7

Please sign in to comment.