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/06 08:02:50 UTC

[logging-parent] branch release/10.0.0 updated: Fix bash typo

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

vy pushed a commit to branch release/10.0.0
in repository https://gitbox.apache.org/repos/asf/logging-parent.git


The following commit(s) were added to refs/heads/release/10.0.0 by this push:
     new c21e6f0  Fix bash typo
c21e6f0 is described below

commit c21e6f0a61ab2c4ac5aedd2bfe834b7cad0db4b4
Author: Volkan Yazıcı <vo...@yazi.ci>
AuthorDate: Wed Sep 6 10:02:56 2023 +0200

    Fix bash typo
---
 .github/workflows/deploy-release-reusable.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/deploy-release-reusable.yml b/.github/workflows/deploy-release-reusable.yml
index c7a021e..6a5b170 100644
--- a/.github/workflows/deploy-release-reusable.yml
+++ b/.github/workflows/deploy-release-reusable.yml
@@ -116,11 +116,11 @@ jobs:
           export DIST_FILEPATH_SRC="${DIST_FILEPATH_PREFIX}-src.zip"
           export DIST_FILEPATH_BIN="${DIST_FILEPATH_PREFIX}-bin.zip"
           mv "target/src.zip" "$DIST_FILEPATH_SRC"
-          [ -e "$DIST_FILEPATH_SRC" ] && mv "target/bin.zip" "$DIST_FILEPATH_BIN"
+          [ -f "$DIST_FILEPATH_SRC" ] && mv "target/bin.zip" "$DIST_FILEPATH_BIN"
 
           # Create signature and checksum files
           for DIST_FILEPATH in "$DIST_FILEPATH_SRC" "$DIST_FILEPATH_BIN"; do
-            if [ -e "$DIST_FILEPATH" ]; then
+            if [ -f "$DIST_FILEPATH" ]; then
               gpg --armor --detach-sign --yes --pinentry-mode error "$DIST_FILEPATH"
               sha512sum "$DIST_FILEPATH" > "$DIST_FILEPATH.sha512"
             fi