Merge pull request #204 from richm/allow-v-prefix-in-version

keep v prefix in version/tag
This commit is contained in:
Matt Willsher 2022-09-09 10:23:50 +01:00 committed by GitHub
commit 2da40a9e66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ jobs:
set -euxo pipefail set -euxo pipefail
print=false print=false
while read -r line; do 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 if [ "$print" = false ]; then
_tagname="${BASH_REMATCH[1]}" _tagname="${BASH_REMATCH[1]}"
echo "$line" echo "$line"