Skip to content

Commit b843e51

Browse files
committed
Build promote-release inside the container if necessary
1 parent b1dd2a2 commit b843e51

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

local/rustup.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,11 @@ for target in "${DOWNLOAD_TARGETS[@]}"; do
5454
echo "==> reusing cached ${target} target"
5555
fi
5656
done
57+
58+
# Build the promote-release binary if it hasn't been pre-built
59+
if [[ ! -f "/src/target/release/promote-release" ]]; then
60+
echo "==> building promote-release"
61+
cd /src
62+
cargo build --release
63+
cd ..
64+
fi

0 commit comments

Comments
 (0)