diff --git a/Makefile b/Makefile index afdfe38..03612f2 100644 --- a/Makefile +++ b/Makefile @@ -33,5 +33,8 @@ version-patch: ## Create a patch version for a directory, e.g. make version-patch mapping-tools @./bin/version-patch.sh "$(filter-out $@,$(MAKECMDGOALS))" +get-version: ## Get the last version of a directory (useful to deployment) + @git tag | grep "$(filter-out $@,$(MAKECMDGOALS))" | tail -1 + examples: ## Launch examples for a directory, e.g. make examples mapping-tools @restcli --full "$(filter-out $@,$(MAKECMDGOALS))/examples.http"