publishing
This commit is contained in:
parent
394a6911bb
commit
3f24ce2f80
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ output.png
|
|||||||
output*.png
|
output*.png
|
||||||
mask*.png
|
mask*.png
|
||||||
*.jpg
|
*.jpg
|
||||||
|
.env
|
||||||
|
|||||||
8
Makefile
8
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
|
.PHONY: help build run up stop down logs log ps test test-mask dev sync shell clean fmt testpub
|
||||||
|
|
||||||
help: ## Show this help
|
help: ## Show this help
|
||||||
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \
|
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \
|
||||||
@ -56,3 +56,9 @@ fmt: ## Format code with ruff
|
|||||||
clean: ## Stop the service and remove build artifacts
|
clean: ## Stop the service and remove build artifacts
|
||||||
-$(COMPOSE) down
|
-$(COMPOSE) down
|
||||||
rm -f $(OUTPUT) mask.png
|
rm -f $(OUTPUT) mask.png
|
||||||
|
|
||||||
|
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" --dry-run
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user