dryrun vs real
This commit is contained in:
parent
25e94b0c22
commit
746635b570
9
Makefile
9
Makefile
@ -11,7 +11,7 @@ BLUR ?= 0
|
|||||||
|
|
||||||
.DEFAULT_GOAL := help
|
.DEFAULT_GOAL := help
|
||||||
|
|
||||||
.PHONY: help build run up stop down logs log ps test test-mask dev sync shell clean fmt testpub bump
|
.PHONY: help build run up stop down logs log ps test test-mask dev sync shell clean fmt drytestpub testpub bump
|
||||||
|
|
||||||
help: ## Show this help
|
help: ## Show this help
|
||||||
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \
|
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \
|
||||||
@ -60,8 +60,13 @@ clean: ## Stop the service and remove build artifacts
|
|||||||
bump: ## Bump the patch version in pyproject.toml (0.0.1 -> 0.0.2)
|
bump: ## Bump the patch version in pyproject.toml (0.0.1 -> 0.0.2)
|
||||||
uv version --bump patch
|
uv version --bump patch
|
||||||
|
|
||||||
testpub: ## Publish dist/ to TestPyPI (UV_PUBLISH_TOKEN from .env)
|
drytestpub: ## Publish dist/ to TestPyPI (UV_PUBLISH_TOKEN from .env)
|
||||||
uv build && \
|
uv build && \
|
||||||
set -a && . ./.env && set +a && \
|
set -a && . ./.env && set +a && \
|
||||||
uv publish --publish-url https://test.pypi.org/legacy/ -t "$$UV_PUBLISH_TOKEN" --dry-run
|
uv publish --publish-url https://test.pypi.org/legacy/ -t "$$UV_PUBLISH_TOKEN" --dry-run
|
||||||
|
|
||||||
|
testpub: ## Publish dist/ to TestPyPI (UV_PUBLISH_TOKEN from .env)
|
||||||
|
uv build && \
|
||||||
|
set -a && . ./.env && set +a && \
|
||||||
|
uv publish --publish-url https://test.pypi.org/legacy/ -t "$$UV_PUBLISH_TOKEN"
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user