Include some debug info in release, but compress it for prebuilds
This commit is contained in:
parent
0936a68355
commit
23a3482361
|
@ -50,7 +50,7 @@ jobs:
|
|||
target: aarch64-unknown-linux-gnu
|
||||
cross: true
|
||||
experimental: false
|
||||
|
||||
|
||||
- name: linux-arm64-musl
|
||||
os: ubuntu-latest
|
||||
target: aarch64-unknown-linux-musl
|
||||
|
@ -139,7 +139,7 @@ jobs:
|
|||
ext=""
|
||||
[[ "${{ matrix.name }}" == windows-* ]] && ext=".exe"
|
||||
bin="target/${{ matrix.target }}/release/watchexec${ext}"
|
||||
strip "$bin" || true
|
||||
objcopy --compress-debug-sections "$bin" || strip "$bin" || true
|
||||
|
||||
version=$(cat VERSION)
|
||||
dst="watchexec-${version}-${{ matrix.target }}"
|
||||
|
|
|
@ -67,6 +67,8 @@ insta = "1.7.1"
|
|||
[features]
|
||||
dev-console = ["console-subscriber"]
|
||||
|
||||
[profile.release]
|
||||
debug = 1 # for stack traces
|
||||
[package.metadata.binstall]
|
||||
pkg-url = "{ repo }/releases/download/cli-v{ version }/watchexec-{ version }-{ target }.tar.xz"
|
||||
bin-dir = "watchexec-{ version }-{ target }/{ bin }{ format }"
|
||||
|
|
Loading…
Reference in New Issue