From 0270771f85fdbacf49db14543ad553ce617f413c Mon Sep 17 00:00:00 2001 From: sharbuz <87968844+sharbuz@users.noreply.github.com> Date: Thu, 27 Jul 2023 09:41:02 +0300 Subject: [PATCH] migrate release manager dependencies (#2835) --- .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}"