From c0c9eabf684d227ad827f28d1234e62604d2c6a3 Mon Sep 17 00:00:00 2001 From: Alejandro R Mosteo Date: Tue, 7 Jun 2022 18:12:41 +0200 Subject: [PATCH] Fix testing of monorepo crates (#520) * Use get --dirname to enter the retrieved crate * Improve log message about deployment dir Co-authored-by: GHA --- scripts/gh-build-crate.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/gh-build-crate.sh b/scripts/gh-build-crate.sh index 74011b95..0bb40b37 100755 --- a/scripts/gh-build-crate.sh +++ b/scripts/gh-build-crate.sh @@ -179,8 +179,9 @@ for file in $CHANGES; do elif $is_binary; then echo FETCHED BINARY crate OK else - echo FETCHED SOURCE crate OK - cd ${crate}_${version_noextras}_* + echo FETCHED SOURCE crate OK, deployed at $(alr get --dirname $milestone) + # Enter the deployment dir + cd $(alr get --dirname $milestone) echo BUILD ENVIRONMENT alr printenv echo BUILDING CRATE