Skip to content

Commit

Permalink
OCM-9116 | fix: make regex match works on bash
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolan018 committed Jul 2, 2024
1 parent 55fe439 commit 2fccca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/release-list-jiras.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ previous_release="release_$2"
commit_output=$(git log "$previous_release"..HEAD --oneline --no-merges --format="%s" --no-decorate --reverse | tr '[:upper:]' '[:lower:]')

# Regular expression pattern to extract Jira ticket numbers and commit messages
pattern="^(revert\s*\")?([^|]+)\|(.+)$"
pattern="^(revert[[:space:]]*\")?([^|]+)\|(.+)$"

# Array to store Jira ticket numbers
jira_tickets=()
Expand Down

0 comments on commit 2fccca5

Please sign in to comment.