From a439502f587a3ad838a6dad4f044bf3b8576bac0 Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Thu, 26 Aug 2021 08:38:22 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c77b49..cc4a211 100644 --- a/README.md +++ b/README.md @@ -12,8 +12,8 @@ Get branch or tag information without the `/ref/*` prefix ## Features -- Retrieve the current branch name without any prefix -- Retrieve the current tag with an option to strip the "v" prefix +- Retrieve the current branch name without any prefix. (e.g. 'refs/heads/main' -> 'main') +- Retrieve the current tag with an option to strip the "v" prefix (e.g. 'refs/tags/v1.0.0' -> 'v1.0.0' OR '1.0.0') - Detect actions triggered by non default branches - Detect actions triggered by the default branch