mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
Display sha256 digests instead of sha1 for releases (#24871)
As github now automatically displays sha256 checksums of uploaded artifacts [1], lets match what they display. [1] https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/
This commit is contained in:
committed by
GitHub
parent
9b2657ac62
commit
2fa9b7eb8e
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -670,11 +670,11 @@ jobs:
|
||||
- name: Remove unsigned artifacts
|
||||
run: |
|
||||
rm -rf *unsigned*
|
||||
- name: Concatenate sha1 files
|
||||
- name: Concatenate sha256 files
|
||||
run: |
|
||||
ls -lR
|
||||
pushd ${{ github.workspace }}
|
||||
sha1sum OpenRCT2-* > OpenRCT2-${{ needs.build_variables.outputs.name }}-sha1sums.txt
|
||||
sha256sum OpenRCT2-* > OpenRCT2-${{ needs.build_variables.outputs.name }}-sha256sums.txt
|
||||
popd
|
||||
- name: Create release notes
|
||||
run: |
|
||||
@@ -685,9 +685,9 @@ jobs:
|
||||
echo "Release created in ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> release_notes.txt
|
||||
echo "" >> release_notes.txt
|
||||
|
||||
echo "SHA1 checksums:" >> release_notes.txt
|
||||
echo "SHA256 checksums:" >> release_notes.txt
|
||||
echo "\`\`\`" >> release_notes.txt
|
||||
cat OpenRCT2-${{ needs.build_variables.outputs.name }}-sha1sums.txt >> release_notes.txt
|
||||
cat OpenRCT2-${{ needs.build_variables.outputs.name }}-sha256sums.txt >> release_notes.txt
|
||||
echo "\`\`\`" >> release_notes.txt
|
||||
echo "" >> release_notes.txt
|
||||
|
||||
@@ -722,7 +722,7 @@ jobs:
|
||||
repository: OpenRCT2/OpenRCT2-binaries
|
||||
token: ${{ secrets.OPENRCT2_BINARIES_CI_UPLOAD }}
|
||||
files: |
|
||||
openrct2-${{ needs.build_variables.outputs.name }}-sha1sums.txt
|
||||
openrct2-${{ needs.build_variables.outputs.name }}-sha256sums.txt
|
||||
OpenRCT2-${{ needs.build_variables.outputs.name }}-*
|
||||
body_path: release_notes.txt
|
||||
tag_name: ${{ needs.build_variables.outputs.name }}
|
||||
|
||||
Reference in New Issue
Block a user