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/10 09:58:37 UTC

[logging-log4j-tools] branch release/0.1.0 updated: 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 release/0.1.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-tools.git


The following commit(s) were added to refs/heads/release/0.1.0 by this push:
     new 62489ca  Rename uploaded workflow artifacts to ease copying to SVN
62489ca is described below

commit 62489ca64cd05f6df7ee9ac7ef2b5434c5d0fd70
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)