Skip to content

Commit

Permalink
CI: strip release binaries for all targets (#358)
Browse files Browse the repository at this point in the history
* CI: strip release binaries for all targets

- This is now done using `rustc` flags directly

* Write changelog
  • Loading branch information
cyqsimon authored Jan 29, 2024
1 parent 96a7f77 commit aed83d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,10 @@ jobs:
run: sudo apt-get install -y --no-install-recommends musl-tools

- name: Build release binary
env:
RUSTFLAGS: "-C strip=symbols"
run: cargo build --verbose --release --target ${{ matrix.target }}

- name: Strip release binary (unix)
if: matrix.os != 'windows-latest'
run: strip "target/${{ matrix.target }}/release/bandwhich"

- name: Tar release (unix)
if: matrix.os != 'windows-latest'
working-directory: ./target/${{ matrix.target }}/release
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)

## [Unreleased]

## Changed
* CI: strip release binaries for all targets #358 - @cyqsimon

## [0.22.2] - 2024-01-28

## Added
Expand Down

0 comments on commit aed83d8

Please sign in to comment.