You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by ho...@apache.org on 2022/05/16 20:25:31 UTC

[solr-docker] 01/01: Change location of setting the message output

This is an automated email from the ASF dual-hosted git repository.

houston pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr-docker.git

commit 2709af222368b0dfabb6bca4ad15415029cc9e59
Author: Houston Putman <ho...@apache.org>
AuthorDate: Mon May 16 16:24:01 2022 -0400

    Change location of setting the message output
    
    need to check a second line as well.
    
    Related to #5
---
 .github/workflows/pr-for-official-repo.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/pr-for-official-repo.yml b/.github/workflows/pr-for-official-repo.yml
index 5f2d655..3cbaa95 100644
--- a/.github/workflows/pr-for-official-repo.yml
+++ b/.github/workflows/pr-for-official-repo.yml
@@ -30,9 +30,9 @@ jobs:
         run: |
           str="$(jq '.head_commit.message' $GITHUB_EVENT_PATH)"    # get the head_commit message
           message="$(echo ${str} | sed -E 's/^#/ #/g' | sed -E 's/(#[0-9]+)$/\1 /g' | sed -E 's/([^a-zA-Z])(#[0-9]+[^0-9])/\1apache\/solr-docker\2/g')"  # get the message, substituting the github links
-          echo ::set-output name=message::${message} | tr -d '"'       # get the message
           echo ::set-output name=title::${message%%\\n*} | tr -d '"'   # get the title
           echo ::set-output name=body::${message##*\\n} | tr -d '"'    # get the body
+          echo ::set-output name=message::${message} | tr -d '"'       # get the message
       - name: Install BashBrew
         run: |
           mkdir -p "${HOME}/.local/bin"