chore: generate "influxdb.${CIRCLE_TAG}.digests" for each release (#24272)

pull/24304/head
Brandon Pfeifer 2023-06-08 06:21:47 -04:00 committed by GitHub
parent fd0f0ce7cb
commit 8f45c5b15c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 1 deletions

View File

@ -169,6 +169,15 @@ jobs:
rsign "${target}"
;;
esac
if [ -f "${target}" ]
then
# Since all artifacts are present, sign them here. This saves Circle
# credits over spinning up another instance just to separate out the
# checksum job. Individual checksums are written by the
# "build_packages" script.
sha256sum "${target}" >> "/tmp/workspace/packages/influxdb.${CIRCLE_TAG}.digests"
fi
done
- persist_to_workspace:
root: /tmp/workspace
@ -407,7 +416,6 @@ workflows:
<<: *release_filter
- unit_test_race:
<<: *release_filter
on_push:
when:
equal: [ << pipeline.parameters.workflow >>, build ]