Skip to content

Commit

Permalink
fix: parse PR title
Browse files Browse the repository at this point in the history
  • Loading branch information
BobBorges committed Dec 13, 2024
1 parent 362f483 commit 4e21a0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4e21a0a

Please sign in to comment.