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/01/13 15:36:53 UTC

[logging-log4j-tools] 01/06: Rename uploaded workflow artifacts to ease copying to SVN

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

vy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git

commit 23ebc5187631a3fa485669d9a514fb970f5d791e
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Tue Jan 10 10:57:06 2023 +0100

    Rename uploaded workflow artifacts to ease copying to SVN
---
 .github/workflows/build.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index ba8228a..8f31b98 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -188,17 +188,16 @@ jobs:
       - name: Create artifacts (RELEASE)
         if: startsWith(github.ref, 'refs/heads/release/')
         run: |
-          git ls-files -z | xargs -0 zip -9 /tmp/src.zip --
-          gpg --armor --sign --yes --pinentry-mode error /tmp/src.zip
+          export ZIP_FILEPATH="/tmp/apache-log4j-tools-${PROJECT_VERSION}-src.zip"
+          git ls-files -z | xargs -0 zip -9 "$ZIP_FILEPATH" --
+          gpg --armor --sign --yes --pinentry-mode error "$ZIP_FILEPATH"
 
       - name: Upload artifacts (RELEASE)
         if: startsWith(github.ref, 'refs/heads/release/')
         uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce   # 3.1.2
         with:
           name: Sources
-          path: |
-            /tmp/src.zip
-            /tmp/src.zip.asc
+          path: /tmp/apache-log4j-tools-*-src.zip*
           if-no-files-found: error
 
       - name: Tag version (RELEASE)