From 7af1dd22025c9c2236069b5ac725fe699a6a34e7 Mon Sep 17 00:00:00 2001 From: V0ldek Date: Wed, 10 Jan 2024 16:37:24 +0100 Subject: [PATCH] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32c37bfe..1b6ff33e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -141,7 +141,7 @@ jobs: RUSTFLAGS: ${{ matrix.rustflags }} - name: Rename binary (Unix) if: matrix.os != 'windows-latest' - run: mv -f "target/${{ matrix.target_triple }}/distribution/rq" target/distribution/rq-${{ matrix.target_triple }} + run: rm -f target/distribution/rq-${{ matrix.target_triple }} && mv -f "target/${{ matrix.target_triple }}/distribution/rq" target/distribution/rq-${{ matrix.target_triple }} - name: Rename binary (Windows) if: matrix.os == 'windows-latest' run: mv -Force "target/${{ matrix.target_triple }}/distribution/rq.exe" target/distribution/rq-${{ matrix.target_triple }}.exe