Skip to content

Commit

Permalink
Fix release sha256 csv format
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Aug 29, 2024
1 parent 6b4f8d2 commit 0f4ce03
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -331,14 +331,14 @@ jobs:
artifacts/release-macos-aarch64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-aarch64-apple-darwin.tar.gz \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc-installer.exe \
artifacts/release-windows-x64-artifacts/hurl-"${{ needs.set-context.outputs.release_version }}"-x86_64-pc-windows-msvc.zip
echo "file sha256" > ${{ needs.set-context.outputs.release_version }}.sha256.csv
find ./artifacts -name "*sha256" | xargs -I FILE sh -c 'echo "$(basename FILE) $(cat FILE)"' >> ${{ needs.set-context.outputs.release_version }}.sha256.csv
echo "file,sha256" > release-${{ needs.set-context.outputs.release_version }}.sha256.csv
find ./artifacts -name "*sha256" | xargs -I FILE sh -c 'echo "$(basename FILE),$(cat FILE)"' >> release-${{ needs.set-context.outputs.release_version }}.sha256.csv
- name: Archive sha256 artifacts
uses: actions/[email protected]
with:
name: release-sha256-csv
path: ${{ needs.set-context.outputs.release_version }}.sha256.csv
path: release-${{ needs.set-context.outputs.release_version }}.sha256.csv


- name: Deliver release
Expand Down

0 comments on commit 0f4ce03

Please sign in to comment.