We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de0785 commit c554310Copy full SHA for c554310
.github/workflows/close-pulls.yml
@@ -30,7 +30,7 @@ jobs:
30
${{ github.event.head_commit.message }}
31
EOF
32
)
33
- SVN_REVISION=$(echo "$COMMIT_MESSAGE" | grep -oP '(?<=git-svn-id: https://develop.svn.wordpress.org/[^@]+@)\d+(?= )')
+ SVN_REVISION=$(echo "$COMMIT_MESSAGE" | sed -n 's/.*git-svn-id: https:\/\/develop.svn.wordpress.org\/[^@]*@\([0-9]*\) .*/\1/p')
34
echo "svn_revision_number=${SVN_REVISION}" >> $GITHUB_OUTPUT
35
36
- name: Print fixes list for debugging
0 commit comments