From 2d866ae3c119b08506e798c542d14d6e1dafc3ef Mon Sep 17 00:00:00 2001 From: Benoit Chevallier-Mames Date: Fri, 15 Oct 2021 13:05:59 +0200 Subject: [PATCH] chore: show types and optional scopes for conventional commits. --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Makefile b/Makefile index ddd3d4aa2..1380ea636 100644 --- a/Makefile +++ b/Makefile @@ -238,3 +238,13 @@ changelog: check_version_coherence PROJECT_VER="$${PROJECT_VER[1]}";\ poetry run python ./script/make_utils/changelog_helper.py > "CHANGELOG_$${PROJECT_VER}.md" .PHONY: changelog + +# Show the accepted types and optional scopes +show_scope: + @echo "Accepted types and optional scopes:" + @cat .github/workflows/continuous-integration.yaml | grep feat | grep pattern | cut -f 2- -d ":" | cut -f 2- -d " " +.PHONY: show_scope + +show_type:show_scope +.PHONY: show_type +