From a7c98bdb06d2c64f777f4539539d9fe0f8b50193 Mon Sep 17 00:00:00 2001 From: mukunda katta Date: Fri, 15 May 2026 12:59:56 -0700 Subject: [PATCH] fix: preserve latest binary executable mode --- .github/workflows/GnuTests.yml | 4 ++-- README.md | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/GnuTests.yml b/.github/workflows/GnuTests.yml index 25436336..94cb3220 100644 --- a/.github/workflows/GnuTests.yml +++ b/.github/workflows/GnuTests.yml @@ -56,7 +56,7 @@ jobs: ## Build Rust sed binary cd 'sed' cargo build --config=profile.release.strip=true --profile=release #-fast - zstd -19 target/release/sed -o ../sed-x86_64-unknown-linux-gnu.zst + tar -C target/release -cf - sed | zstd -19 -o ../sed-x86_64-unknown-linux-gnu.tar.zst - name: Publish latest commit uses: softprops/action-gh-release@v3 if: github.event_name == 'push' && github.ref == 'refs/heads/main' @@ -67,7 +67,7 @@ jobs: draft: false prerelease: true files: | - sed-x86_64-unknown-linux-gnu.zst + sed-x86_64-unknown-linux-gnu.tar.zst env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index d6093aee..cbf380bd 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,8 @@ Further work aims to: ## Installation -We provide binary for Linux x86_64 from main branch at https://github.com/uutils/sed/releases/tag/latest-commit . +We provide a Linux x86_64 binary archive from the main branch at +https://github.com/uutils/sed/releases/tag/latest-commit . For other platforms, ensure you have Rust installed on your system. You can install Rust through [rustup](https://rustup.rs/).