diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 45da26b..93f774b 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -41,7 +41,9 @@ jobs: set -x assets=("sslgen.phar" "sslgen.phar.sha1" "sslgen.phar.sha256") tag_name="${GITHUB_REF##*/}" - hub release create "${assets[@]}" -m "$tag_name" "$tag_name" + for asset in "${assets[@]}"; do + hub release edit --attach "${assets[@]}" -m "" "$tag_name" + done env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/bin/create b/bin/create index bceb8f1..dea6eb4 100755 --- a/bin/create +++ b/bin/create @@ -20,3 +20,4 @@ file_put_contents($filePath . '.' . '.sha256', $sha256); echo "Filesize: " . filesize($filePath) . PHP_EOL; echo "SHA1: " . $sha1 . PHP_EOL; +echo "SHA256: " . $sha256 . PHP_EOL;