feat(release): introduce interactive mode
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
CONFIG := packages/commands/src/Toolbox/Config.php
|
||||
VERSION := $(shell grep -oP "const VERSION = '\K[^']+" $(CONFIG))
|
||||
|
||||
.PHONY: help test build publish check clean
|
||||
.PHONY: help test build release publish check clean
|
||||
|
||||
help: ## Muestra esta ayuda
|
||||
@grep -hE '^[a-z-]+:.*## ' $(MAKEFILE_LIST) | sed -E 's/^([a-z-]+):.*## (.+)$$/ make \1 \xe2\x80\x94 \2/'
|
||||
@@ -15,6 +15,9 @@ test: ## Corre la suite de pruebas (harness propio, sin phpunit)
|
||||
build: ## Construye dist/duckbrain.phar y su .sha256
|
||||
scripts/build-phar
|
||||
|
||||
release: ## Asistente interactivo para versionar un paquete (scripts/release)
|
||||
./scripts/release $(if $(ARGS),$(ARGS),)
|
||||
|
||||
publish: build ## Crea/mueve la release v$(VERSION) en Forgejo y sube los assets
|
||||
scripts/publish-phar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user