Skip to content

Commit

Permalink
build-release.sh: only checksum files
Browse files Browse the repository at this point in the history
  • Loading branch information
cuonglm committed Nov 14, 2019
1 parent e630233 commit 114eba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ checksum() {
fi

rm -f "dist/$CHECKSUM_FILE"
( cd dist && for x in *; do "${CHECKSUM_CMD[@]}" -- "$x" >> "$CHECKSUM_FILE"; done )
( cd dist && for x in *; do [ -f "$x" ] && "${CHECKSUM_CMD[@]}" -- "$x" >> "$CHECKSUM_FILE"; done )
}

echo "--- Building Release: ${VERSION}"
Expand Down

0 comments on commit 114eba3

Please sign in to comment.