1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-10-26 07:49:41 +03:00

chore(build): enable strip option for release profile

This commit is contained in:
Orhun Parmaksız 2022-08-16 20:33:49 +02:00
parent 6bb4f5b43e
commit f70fefd88a
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
2 changed files with 1 additions and 1 deletions

View File

@ -19,6 +19,7 @@ debug = false
panic = "unwind"
lto = true
codegen-units = 1
strip = true
[profile.bench]
opt-level = 3

View File

@ -23,7 +23,6 @@ COPY --from=cacher /app/target target
COPY --from=cacher $CARGO_HOME $CARGO_HOME
RUN cargo build --release --locked --no-default-features
RUN rm -f target/release/deps/git_cliff*
RUN strip target/release/git-cliff
FROM debian:buster-slim as runner
WORKDIR app