Skip to content

Commit

Permalink
Fix commit ID getter
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Sep 6, 2023
1 parent e20d5af commit 24a4b9b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy-release-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit 24a4b9b

Please sign in to comment.