[CD] generate sum wrong paths fixed

This commit is contained in:
Kingkor Roy Tirtho 2022-04-27 19:52:35 +06:00
parent 366ea13a7d
commit 98d0afe256

View File

@ -168,8 +168,12 @@ jobs:
strip_v: true strip_v: true
# generating checksums for all the binary # generating checksums for all the binary
- run: | - run: |
md5sum ./**/**/*.{AppImage,deb,zip,dmg,exe,nupkg,apk} > RELEASE.md5sum md5sum ./Spotube-Macos-Bundle/${{ steps.tag.outputs.tag }}/Spotube-macos-x86_64.dmg > RELEASE.md5sum
sha256sum ./**/**/*.{AppImage,deb,zip,dmg,exe,nupkg,apk} > RELEASE.sha256sum md5sum ./Spotube-Windows-Bundle/${{ steps.tag.outputs.tag }}/*.{exe,nupkg} > RELEASE.md5sum
md5sum ./Spotube-Linux-Bundle/${{ steps.tag.outputs.tag }}/*.{AppImage,tar.xz,deb} > RELEASE.md5sum
sha256sum ./Spotube-Macos-Bundle/${{ steps.tag.outputs.tag }}/Spotube-macos-x86_64.dmg > RELEASE.sha256sum
sha256sum ./Spotube-Windows-Bundle/${{ steps.tag.outputs.tag }}/*.{exe,nupkg} > RELEASE.sha256sum
sha256sum ./Spotube-Linux-Bundle/${{ steps.tag.outputs.tag }}/*.{AppImage,tar.xz,deb} > RELEASE.sha256sum
sed -i 's|Spotube-.*-Bundle/||' RELEASE.sha256sum RELEASE.md5sum sed -i 's|Spotube-.*-Bundle/||' RELEASE.sha256sum RELEASE.md5sum
# Upload release binary # Upload release binary
- uses: ncipollo/release-action@v1 - uses: ncipollo/release-action@v1