You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by vy...@apache.org on 2023/09/06 10:55:18 UTC

[logging-parent] branch release/10.0.0 updated (cad376b -> 24a4b9b)

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

vy pushed a change to branch release/10.0.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


    from cad376b  Explicitly specify `shell` in workflows to get `set -eo pipefail`
     new e20d5af  Add `set -x` for troubleshooting
     new 24a4b9b  Fix commit ID getter

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/deploy-release-reusable.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)


[logging-parent] 01/02: Add `set -x` for troubleshooting

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/10.0.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit e20d5af695d702d23105ff99d7d6443b4b17217c
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed Sep 6 12:29:45 2023 +0200

    Add `set -x` for troubleshooting
---
 .github/workflows/deploy-release-reusable.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml
index 9402d66..bad5eb2 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -177,6 +177,7 @@ jobs:
       - name: Upload to Subversion
         shell: bash
         run: |
+          set -x
 
           # Checkout the SVN repository
           export SVN_DIR="/tmp/svn-repo"


[logging-parent] 02/02: Fix commit ID getter

Posted by vy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/10.0.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git

commit 24a4b9bc706ed978f36c28c114e289547c4a71ad
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed Sep 6 12:54:52 2023 +0200

    Fix commit ID getter
---
 .github/workflows/deploy-release-reusable.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml
index bad5eb2..cbe9134 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -177,7 +177,9 @@ jobs:
       - name: Upload to Subversion
         shell: bash
         run: |
-          set -x
+
+          # Find the effective Git commit ID
+          export COMMIT_ID=$(git rev-parse HEAD)
 
           # Checkout the SVN repository
           export SVN_DIR="/tmp/svn-repo"
@@ -199,7 +201,6 @@ jobs:
           find . -name "${DIST_FILENAME_PREFIX}*" -type f -print0 | xargs -0 -r svn delete
 
           # Generate emails
-          export COMMIT_ID=$(git rev-parse HEAD)
           for EMAIL_TYPE in vote announce; do
             "$GITHUB_WORKSPACE/.github/generate-email.sh" $EMAIL_TYPE $PROJECT_VERSION $COMMIT_ID \
               > "${DIST_FILENAME_VERSIONED_PREFIX}-email-${EMAIL_TYPE}.txt"