From 9771f0805dca69903d51854e417db026527b387a Mon Sep 17 00:00:00 2001 From: Joshua Powers Date: Wed, 31 May 2023 02:10:37 -0600 Subject: [PATCH] chore: Produce single digest file with sha256sum (#13366) --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c84c13af7..a49e2d6ce 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -540,10 +540,9 @@ jobs: case "${target}" in *.deb|*.dmg|*.rpm|*.tar.gz|*.zip) - # Combine the metadata from the *.DIGESTS and *.asc files into one - # listing. Since the gpg signature contains multiple lines which - # must be preserved, it is base64 encoded. - printf '%s %s %s\n' "${target}" "$(awk '{ print $1 }' "${target}.DIGESTS")" "$(base64 -w 0 <"${target}.asc")" >>"telegraf-${CIRCLE_TAG}-digests" + # Print sha256 hash and target for artifacts all in one file + # for use later during the release. + cat "${target}.DIGESTS" >> "telegraf-${CIRCLE_TAG}.DIGESTS" ;; esac done