From 8f45c5b15c2e2ad149a38df28ed1030967b93080 Mon Sep 17 00:00:00 2001 From: Brandon Pfeifer Date: Thu, 8 Jun 2023 06:21:47 -0400 Subject: [PATCH] chore: generate "influxdb.${CIRCLE_TAG}.digests" for each release (#24272) --- .circleci/config.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5ea1509afa..5b371125f6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 ]