Skip to content

Commit

Permalink
build: no need for `--release
Browse files Browse the repository at this point in the history
  • Loading branch information
shumkov committed Nov 22, 2024
1 parent 655e5fb commit 751fda0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ RUN --mount=type=cache,sharing=shared,id=cargo_registry_index,target=${CARGO_HOM
set -ex; \
if [[ "${CARGO_BUILD_PROFILE}" == "release" ]] ; then \
mv .cargo/config-release.toml .cargo/config.toml; \
export RELEASE="--release" ; \
else \
export FEATURES_FLAG="--features=console,grovedbg" ; \
fi && \
Expand All @@ -351,7 +350,6 @@ RUN --mount=type=cache,sharing=shared,id=cargo_registry_index,target=${CARGO_HOM
--recipe-path recipe.json \
--profile "$CARGO_BUILD_PROFILE" \
--package drive-abci \
${RELEASE} \
${FEATURES_FLAG} \
--locked && \
if [[ -x /usr/bin/sccache ]]; then sccache --show-stats; fi
Expand Down

0 comments on commit 751fda0

Please sign in to comment.