We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b58d9 commit abe1526Copy full SHA for abe1526
.github/workflows/release.yml
@@ -80,9 +80,10 @@ jobs:
80
cd -
81
82
- name: Generate checksum
83
+ shell: bash
84
run: |
85
if [[ "${{ matrix.platform.os }}" == "windows-latest" ]]; then
- certutil -hashfile ${{ matrix.platform.name }} SHA256 | grep -E "^[0-9a-fA-F]{64}$" > ${{ matrix.platform.name }}.sha256
86
+ certutil -hashfile ${{ matrix.platform.name }} SHA256 | sed -n '2p' | tr -d '\r' > ${{ matrix.platform.name }}.sha256
87
else
88
shasum -a 256 ${{ matrix.platform.name }} > ${{ matrix.platform.name }}.sha256
89
fi
0 commit comments