Skip to content

Commit

Permalink
build(deb): fix deb build
Browse files Browse the repository at this point in the history
  • Loading branch information
Beastwick18 committed Jun 30, 2024
1 parent f5928d7 commit 22961d8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ license = "GPL-3.0-or-later"

[profile.release]
debug = 0
lto = "none"
lto = false
strip = "debuginfo"

[profile.github]
Expand Down
2 changes: 1 addition & 1 deletion scripts/docker-deb/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cargo install cargo-deb
pushd ~/nyaa

# Build .deb package in github mode
cargo deb --profile github
cargo deb -- --profile github

# Export it to shared directory
cp ~/nyaa/target/debian/nyaa_${VERSION}-1_amd64.deb ~/docker/nyaa-${VERSION}-x86_64.deb
Expand Down

0 comments on commit 22961d8

Please sign in to comment.