Skip to content

Commit dee8cae

Browse files
committed
generate md5 checksums of artifacts when publishing to github
1 parent 458f92e commit dee8cae

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ jobs:
131131
- run:
132132
name: "Install dependencies"
133133
command: 'apk add --update --no-cache jq'
134+
- run:
135+
name: "Generate MD5 checksums"
136+
command: './scripts/generate_md5sum.sh'
134137
- run:
135138
name: "Publish Release on GitHub"
136139
command: './scripts/publish_github_release.sh'

scripts/generate_md5sum.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
for archive in artifacts/*.zip; do
4+
md5sum $archive >> artifacts/md5sums.txt
5+
done

0 commit comments

Comments
 (0)