fixed(bootstrap_archives.yml): Do not use natural sort while generating bootstraps.sha256sum

This commit is contained in:
agnostic-apollo 2022-09-17 08:22:55 +05:00
parent e1b1509c6e
commit e9dae011e2
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ jobs:
- name: Get checksums
id: get_checksums
run: |
find . -maxdepth 1 -type f -name "bootstrap-*.zip" -exec sha256sum {} \; | sed "s| ./| |g" | sort -nk2 > bootstraps.sha256sum
find . -maxdepth 1 -type f -name "bootstrap-*.zip" -exec sha256sum {} \; | sed "s| ./| |g" | sort -k2 > bootstraps.sha256sum
checksums=$(printf 'SHA-256:\n```\n%s\n```\n' "$(sha256sum *.zip)")
checksums="${checksums//'%'/'%25'}"
checksums="${checksums//$'\n'/'%0A'}"