tools(make): release target
This commit is contained in:
@@ -130,3 +130,11 @@ docker-build: ## docker build
|
|||||||
.PHONY: docker-run
|
.PHONY: docker-run
|
||||||
docker-run: docker-build ## docker run
|
docker-run: docker-build ## docker run
|
||||||
@$(DOCKER) run -it -p $(PORT):80 -v ./data:/data $(DOCKER_TAG) --debug --no-certbot --no-https --host localhost:$(PORT) run
|
@$(DOCKER) run -it -p $(PORT):80 -v ./data:/data $(DOCKER_TAG) --debug --no-certbot --no-https --host localhost:$(PORT) run
|
||||||
|
|
||||||
|
.PHONY: release-%
|
||||||
|
release-%: .venv ## release major/minor/patch
|
||||||
|
$(UV) version --bump=$*
|
||||||
|
git add pyproject.toml uv.lock
|
||||||
|
git commit -m "chore: $$(uv version --short)"
|
||||||
|
git tag "release/$$(uv version --short)" -m "$$(uv version)"
|
||||||
|
$(UV) build
|
||||||
|
|||||||
Reference in New Issue
Block a user