This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-parent.git
The following commit(s) were added to refs/heads/main by this push:
new 3c66796 Fix commit ID getter
3c66796 is described below
commit 3c667969a6338799584f5cec3034bedcb45ab994
Author: Volkan Yazıcı <[email protected]>
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"