Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
Signed-off-by: clux <[email protected]>
  • Loading branch information
clux committed Oct 16, 2024
1 parent 6d2d7c6 commit 94934f4
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -130,23 +130,23 @@ 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
with:
name: builds-${{ matrix.target }}
retention-days: 1
path: |
yq-*.tar.xz
yq-*.zip
whyq-*.tar.xz
whyq-*.zip
sign:
needs: build
Expand All @@ -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:
Expand All @@ -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*

0 comments on commit 94934f4

Please sign in to comment.