From 4e21a0a7f7ccc44070847a430cc1415b06f7ea4d Mon Sep 17 00:00:00 2001 From: Bob Borges Date: Fri, 13 Dec 2024 14:17:07 +0100 Subject: [PATCH] fix: parse PR title --- .github/workflows/prerelease.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 46acccd..d417967 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -31,7 +31,7 @@ jobs: - name: Get release type run: | - release_type=$(echo ${{ github.event.pull_request.title }} | grep -Eoh '(((M|m)ajor|inor)|(P|p)atch)' | awk '{print tolower($0)}') + release_type=$(echo ${{ github.event.pull_request.title }} | grep -Eoh '(((M|m)ajor|inor)|(P|p)atch)') if [ -z $release_type ] ; then echo "You have to indicate the release type in the title of a pr to main" echo " suggested: `prerelease: major|minor|patch version"