chore: Produce single digest file with sha256sum (#13366)
This commit is contained in:
parent
76889af6f2
commit
9771f0805d
|
|
@ -540,10 +540,9 @@ jobs:
|
||||||
case "${target}"
|
case "${target}"
|
||||||
in
|
in
|
||||||
*.deb|*.dmg|*.rpm|*.tar.gz|*.zip)
|
*.deb|*.dmg|*.rpm|*.tar.gz|*.zip)
|
||||||
# Combine the metadata from the *.DIGESTS and *.asc files into one
|
# Print sha256 hash and target for artifacts all in one file
|
||||||
# listing. Since the gpg signature contains multiple lines which
|
# for use later during the release.
|
||||||
# must be preserved, it is base64 encoded.
|
cat "${target}.DIGESTS" >> "telegraf-${CIRCLE_TAG}.DIGESTS"
|
||||||
printf '%s %s %s\n' "${target}" "$(awk '{ print $1 }' "${target}.DIGESTS")" "$(base64 -w 0 <"${target}.asc")" >>"telegraf-${CIRCLE_TAG}-digests"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue