Skip to content

Commit

Permalink
migrate release manager dependencies (#2835)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharbuz authored Jul 27, 2023
1 parent 0f8ca1c commit 0270771
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .buildkite/scripts/dra_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 0270771

Please sign in to comment.