Skip to content

Commit

Permalink
Fixed bug in how "make publish" called "validate-tag" rule
Browse files Browse the repository at this point in the history
  • Loading branch information
tleonhardt committed Jan 17, 2025
1 parent 48fbcca commit e500870
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ validate-tag: ## Check to make sure that a tag exists for the current HEAD and i
@uv run inv validatetag

.PHONY: publish-test
publish-test: validatetag build ## Test publishing a release to PyPI.
publish-test: validate-tag build ## Test publishing a release to PyPI.
@echo "🚀 Publishing: Dry run."
@uvx twine upload --repository testpypi dist/*

.PHONY: publish
publish: validatetag build ## Publish a release to PyPI.
publish: validate-tag build ## Publish a release to PyPI.
@echo "🚀 Publishing."
@uvx twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

Expand Down

0 comments on commit e500870

Please sign in to comment.