From c92fcd906b8f6d46c9de0f5bbe28b59bed3e06c0 Mon Sep 17 00:00:00 2001 From: Siarhei Harbuz Date: Thu, 27 Jul 2023 08:31:41 +0300 Subject: [PATCH] migrate release manager dependencies --- .buildkite/scripts/dra_release.sh | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.buildkite/scripts/dra_release.sh b/.buildkite/scripts/dra_release.sh index 151e7bf54..769470467 100755 --- a/.buildkite/scripts/dra_release.sh +++ b/.buildkite/scripts/dra_release.sh @@ -32,17 +32,14 @@ with_go with_mage -case "${TYPE}" in - "snapshot") - make release-manager-dependencies-snapshot - ;; - "staging") - make release-manager-dependencies-release - ;; - *) - echo "The option is unsupported yet" - ;; -esac + +if [[ ${TYPE} == "snapshot" ]]; then + export SNAPSHOT=true +fi + +mkdir -p ${BASE_DIR}/reports +./dev-tools/dependencies-report --csv ${BASE_DIR}/reports/dependencies-${VERSION}.csv +cd ${BASE_DIR}/reports && shasum -a 512 dependencies-${VERSION}.csv > dependencies-${VERSION}.csv.sha512 cd $(dirname ${WORKSPACE}) export FOLDER="${FOLDER_PATH}"