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

commit 98d4231d79030bc80e1edf4fcec4a51fe92dd18c
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Mon Nov 13 21:26:24 2023 +0100

    Remove redundant `cyclonedx.json` attachment pattern from CI
---
 .github/workflows/deploy-release-reusable.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/deploy-release-reusable.yaml 
b/.github/workflows/deploy-release-reusable.yaml
index b23d965..1e6d6ac 100644
--- a/.github/workflows/deploy-release-reusable.yaml
+++ b/.github/workflows/deploy-release-reusable.yaml
@@ -201,7 +201,7 @@ jobs:
 
             # This regex needs to work for both Java (`distribution` profile) 
and `find` (while counting attachments)!
             # Hence, we don't escape dots, etc. with backslashes, which is 
problematic to get working in both worlds.
-            export 
DIST_ATTACHMENT_FILEPATH_PATTERN="^$ALT_DEPLOYMENT_REPO_FILEPATH/.+-$PROJECT_VERSION"'((-tests)?.jar|-cyclonedx.(xml|json))$'
+            export 
DIST_ATTACHMENT_FILEPATH_PATTERN="^$ALT_DEPLOYMENT_REPO_FILEPATH/.+-$PROJECT_VERSION"'((-tests)?.jar|-cyclonedx.xml)$'
             export DIST_ATTACHMENT_COUNT=$(find 
"$ALT_DEPLOYMENT_REPO_FILEPATH" -type f -regextype posix-extended -regex 
"$DIST_ATTACHMENT_FILEPATH_PATTERN" | wc -l)
 
           fi

Reply via email to