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/28 09:15:33 UTC
[logging-parent] branch main updated: Fix CI changelog generation
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 71187a8 Fix CI changelog generation
71187a8 is described below
commit 71187a83c095270048397cef5d0127db2bfc0685
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Thu Sep 28 11:15:50 2023 +0200
Fix CI changelog generation
---
.github/workflows/deploy-release-reusable.yaml | 20 +++-----------------
1 file changed, 3 insertions(+), 17 deletions(-)
diff --git a/.github/workflows/deploy-release-reusable.yaml b/.github/workflows/deploy-release-reusable.yaml
index a3e768b..1147e41 100644
--- a/.github/workflows/deploy-release-reusable.yaml
+++ b/.github/workflows/deploy-release-reusable.yaml
@@ -119,26 +119,12 @@ jobs:
run: |
./mvnw \
--non-recursive --batch-mode --errors --no-transfer-progress \
- -P changelog-release
- git add src/changelog
+ -P changelog-release process-sources
+ git add src
if [ -n "$(git status --porcelain)" ]; then
git config user.name "ASF Logging Services RM"
git config user.email private@logging.apache.org
- git commit -S src/changelog -m "Release changelog for version \`$PROJECT_VERSION\`"
- git push origin
- fi
-
- - name: Commit generated sources
- shell: bash
- run: |
- ./mvnw \
- --non-recursive --batch-mode --errors --no-transfer-progress \
- process-sources
- git add src/site
- if [ -n "$(git status --porcelain)" ]; then
- git config user.name "ASF Logging Services RM"
- git config user.email private@logging.apache.org
- git commit -S src/site -m "Add auto-generated sources"
+ git commit -S src -m "Release changelog for version \`$PROJECT_VERSION\`"
git push origin
fi