Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions scripts/checksum.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ VECTOR_VERSION=${VECTOR_VERSION:-nightly}
pushd "${ROOT}/target/artifacts"

shopt -s extglob
ARTIFACTS=$(ls !(*SHA256SUMS))
ARTIFACTS=(!(*SHA256SUMS))
shopt -u extglob

# shellcheck disable=SC2086 # Intended splitting of ARTIFACTS
sha256sum $ARTIFACTS > vector-"$VECTOR_VERSION"-SHA256SUMS
sha256sum "${ARTIFACTS[@]}" > vector-"$VECTOR_VERSION"-SHA256SUMS

popd