From 94934f4a373a2c91141772322aa3de487a883069 Mon Sep 17 00:00:00 2001 From: clux Date: Thu, 17 Oct 2024 00:06:18 +0100 Subject: [PATCH] ugh Signed-off-by: clux --- .github/workflows/release.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1de0522..958db46 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -119,9 +119,9 @@ jobs: set -euxo pipefail ext="" [[ "${{ matrix.name }}" == windows-* ]] && ext=".exe" - bin="target/${{ matrix.target }}/release/yq${ext}" + bin="target/${{ matrix.target }}/release/whyq${ext}" strip "$bin" || true - dst="yq-${{ matrix.target }}" + dst="whyq-${{ matrix.target }}" mkdir "$dst" cp "$bin" "$dst/" @@ -130,14 +130,14 @@ jobs: shell: bash run: | set -euxo pipefail - dst="yq-${{ matrix.target }}" + dst="whyq-${{ matrix.target }}" tar cavf "$dst.tar.xz" "$dst" - name: Archive (zip) if: startsWith(matrix.name, 'windows-') shell: bash run: | set -euxo pipefail - dst="yq-${{ matrix.target }}" + dst="whyq-${{ matrix.target }}" 7z a "$dst.zip" "$dst" - uses: actions/upload-artifact@v4 @@ -145,8 +145,8 @@ jobs: name: builds-${{ matrix.target }} retention-days: 1 path: | - yq-*.tar.xz - yq-*.zip + whyq-*.tar.xz + whyq-*.zip sign: needs: build @@ -170,7 +170,7 @@ jobs: merge-multiple: true - name: Checksums with SHA512 - run: sha512sum yq-* | tee SHA512SUMS + run: sha512sum whyq-* | tee SHA512SUMS - uses: softprops/action-gh-release@v2 env: @@ -179,6 +179,6 @@ jobs: generate_release_notes: true fail_on_unmatched_files: true files: | - yq-*.tar.xz - yq-*.zip + whyq-*.tar.xz + whyq-*.zip *SUMS*