diff options
author | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-25 19:52:08 +0300 |
---|---|---|
committer | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2022-07-25 19:52:08 +0300 |
commit | 7058939176bb1395781925840698555ce7284c85 (patch) | |
tree | 74db32243583288bc90040a9ab0905f361467c9b /.github/workflows | |
parent | 20eb4a6b06d3ff7f8d546aaef9f4797c51dab5e1 (diff) |
release.yml: Fix missing checksums in release
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index cc09aa26..f808a771 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -108,20 +108,22 @@ jobs: cd release checksums=() assets=() + echo "Checksums:" for asset in ../artifacts/*/*.tar.gz; do mv "$asset" ./ asset_name="$(basename "$asset")" + checksum="$(md5sum "$asset_name")" + echo " $checksum" checksums="$checksums \`\`\` - $(md5sum "$asset_name") + $checksum \`\`\`" assets+=(-a "$asset_name") done - echo "Assets: ${assets[*]}" - echo "Message: ${checksums[*]}" echo "::set-output name=assets::$(printf " %q" "${assets[@]}")" + echo "::set-output name=checksums::${checksums[*]}" - name: Publish if: ${{ github.event_name == 'push' && github.ref_type == 'tag' }} env: @@ -144,5 +146,6 @@ jobs: [Changelog](https://github.com/nextcloud/nextcloudpi/blob/${{ env.VERSION }}/changelog.md) **Checksums:** - ${checksums[*]} + + ${checksums} EOF |