Skip to content

Commit

Permalink
Fix bash typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vy committed Sep 6, 2023
1 parent fc4e23b commit 7c20777
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-release-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7c20777

Please sign in to comment.