Skip to content

Commit 0deacb1

Browse files
committed
added commit id to release body in ci script
1 parent 1ab0b1d commit 0deacb1

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/release-with-deps.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,18 @@ jobs:
3434
filename: 'github-release/skia-with-deps-${{ github.ref_name }}.tar.gz'
3535
exclusions: 'github-release .git'
3636

37-
- name: Calculate checksum
37+
- name: Generate checksums for this release
3838
run: |
39-
echo "MD5 Checksums:" >> CHECKSUMS
40-
md5sum github-release/* >> CHECKSUMS
41-
echo >> CHECKSUMS
42-
echo "SHA256 Checksums:" >> CHECKSUMS
43-
sha256sum github-release/* >> CHECKSUMS
39+
echo "MD5 Checksums:" >> RELEASE_BODY
40+
md5sum github-release/* >> RELEASE_BODY
41+
echo >> RELEASE_BODY
42+
echo "SHA256 Checksums:" >> RELEASE_BODY
43+
sha256sum github-release/* >> RELEASE_BODY
44+
echo >> RELEASE_BODY
45+
echo "Commit-id-${{ github.sha }}" >> RELEASE_BODY
4446
4547
- name: Publish
4648
uses: softprops/action-gh-release@v1
4749
with:
4850
files: github-release/skia-with-deps-${{ github.ref_name }}.tar.gz
49-
body_path: CHECKSUMS
51+
body_path: RELEASE_BODY

0 commit comments

Comments
 (0)