chore: Produce single digest file with sha256sum (#13366)
This commit is contained in:
parent
76889af6f2
commit
9771f0805d
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue