From 50b247243800d3ad683fb0a0839ed0364d0a6f55 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Tue, 21 Nov 2023 17:57:14 -0500 Subject: [PATCH] ci: strip release binaries on macOS We were purportedly doing this already, but actually weren't because of confusion in the `if` condition. Closes #2636 --- .github/workflows/release.yml | 2 +- CHANGELOG.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 357a0d66..504d224e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -161,7 +161,7 @@ jobs: echo "BIN=$bin" >> $GITHUB_ENV - name: Strip release binary (macos) - if: matrix.os == 'macos' + if: matrix.os == 'macos-latest' shell: bash run: strip "$BIN" diff --git a/CHANGELOG.md b/CHANGELOG.md index 2506cd1c..a839674b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -75,6 +75,8 @@ Bug fixes: Fix bug in `-w/--word-regexp` that would result in incorrect match offsets. * [BUG #2623](https://github.com/BurntSushi/ripgrep/issues/2623): Fix a number of bugs with the `-w/--word-regexp` flag. +* [BUG #2636](https://github.com/BurntSushi/ripgrep/pull/2636): + Strip release binaries for macOS. 13.0.0 (2021-06-12)