Skip to content

Commit

Permalink
Version bump and optimized binary size
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerwood committed Apr 18, 2022
1 parent 8dcadf7 commit 723721d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-n-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
sudo apt update && sudo apt install musl-tools
rustup target add x86_64-unknown-linux-musl
cargo build --release --target x86_64-unknown-linux-musl
strip target/x86_64-unknown-linux-musl/release/${{ env.app-name }}
upx --best --lzma target/x86_64-unknown-linux-musl/release/${{ env.app-name }}
mv target/x86_64-unknown-linux-musl/release/${{ env.app-name }} target/x86_64-unknown-linux-musl/release/${{ env.app-name }}-x86_64-unknown-linux-musl
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v1-release
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "confluence-updater"
version = "0.1.0"
version = "1.1.0"
edition = "2018"

[[bin]]
Expand All @@ -18,4 +18,10 @@ comrak = "0.12.1"
futures = "0.3.17"
serde_yaml = "0.8.21"
sha2 = "0.10.2"
hex = "0.4.3"
hex = "0.4.3"

[profile.release]
lto = true
opt-level = "z"
codegen-units = 1
panic = "abort"

0 comments on commit 723721d

Please sign in to comment.