From e35e56e8f0e7e91bb48f0e57313a994070512900 Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Wed, 7 Sep 2022 07:09:09 -0600 Subject: [PATCH] keep v prefix in version/tag Keep the `v` prefix in the version/tag --- .github/workflows/changelog_to_tag.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changelog_to_tag.yml b/.github/workflows/changelog_to_tag.yml index 92e5022..ae856d6 100644 --- a/.github/workflows/changelog_to_tag.yml +++ b/.github/workflows/changelog_to_tag.yml @@ -21,7 +21,7 @@ jobs: set -euxo pipefail print=false while read -r line; do - if [[ "$line" =~ ^\[([0-9]+\.[0-9]+\.[0-9]+)\]\ -\ [0-9-]+ ]]; then + if [[ "$line" =~ ^\[(v[0-9]+\.[0-9]+\.[0-9]+)\]\ -\ [0-9-]+ ]]; then if [ "$print" = false ]; then _tagname="${BASH_REMATCH[1]}" echo "$line"