Skip to content

Commit

Permalink
Cross os checksums (#4564)
Browse files Browse the repository at this point in the history
* Update version & CI

* Test/array indexing checkup 1 (#4560)

* Update ci.yml

* Feature/feature/versioning ser der harden 2 (#4554)

* Add some unit tests for versioning deserialization to the limits

* Clippy pass

* Better error message

* Minor fixes

* Excluded -> Included

---------

Co-authored-by: sydhds <[email protected]>

* Add versioninig key & value checks (#4552)

* Add versioninig key & value checks

* Improve error message when no prefix

---------

Co-authored-by: sydhds <[email protected]>

* Update CI, Version and genesis timestamp

* Add array indexing listing tool

* Remove array indexing in denunciation code

* Remove more array indexing

* Add more exclude patterns

* Use nom take

---------

Co-authored-by: sydhds <[email protected]>

* fix: cross os checksums

* Revert "Test/array indexing checkup 1 (#4560)"

This reverts commit 7efca19.

* Revert "Update version & CI"

This reverts commit 77f33a0.

---------

Co-authored-by: Leo-Besancon <[email protected]>
Co-authored-by: Sydhds <[email protected]>
Co-authored-by: sydhds <[email protected]>
  • Loading branch information
4 people authored Nov 28, 2023
1 parent 1f32b9d commit 6499d2e
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,19 @@ jobs:
fi
cd -
working-directory: ${{ github.workspace }}
- name: Create Checksums
id: checksums
run: |
checksums=""
for file in massa/*.{gz,zip}; do
if [ -f "$file" ]; then
checksum=$(sha256sum "$file" | cut -d ' ' -f 1)
checksums="$checksums\n$checksum $(basename $file)"
fi
done
echo -e "$checksums" > checksums.txt
working-directory: ${{ github.workspace }}
- name: Generate checksum
uses: jmgilman/actions-generate-checksum@v1
with:
method: sha256
patterns: |
massa/*.zip
massa/*.tar.gz
output: checksums_${{ matrix.name }}.txt

- name: Publish
uses: softprops/action-gh-release@v1
with:
files: |
massa_*.zip
massa_*.gz
checksums.txt
checksums_*.txt

0 comments on commit 6499d2e

Please sign in to comment.