Skip to content

Commit facaebe

Browse files
Add checksum file creation to releases: (#187)
## Description <!--- Please describe what this PR is going to change --> This makes it safer for users to consume Hook tarballs. Will also help the user experience in the charts repo. ## Why is this needed <!--- Link to issue you have raised --> Fixes: #168 ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## How are existing users impacted? What migration steps/scripts do we need? <!--- Fixes a bug, unblocks installation, removes a component of the stack etc --> <!--- Requires a DB migration script, etc. --> ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
2 parents be6998f + f7e24dd commit facaebe

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,20 @@ jobs:
106106
tag: latest
107107
message: "Latest development build"
108108

109+
- name: Generate checksum
110+
uses: jmgilman/actions-generate-checksum@v1
111+
with:
112+
method: sha512
113+
patterns: hook_*.tar.gz
114+
109115
- name: Update latest release
110116
uses: softprops/action-gh-release@v1
111117
with:
112118
name: Hook Latest Development Build
113119
body: ${{env.RELEASE_NOTES}}
114-
files: hook_*.tar.gz
120+
files: |
121+
hook_*.tar.gz
122+
checksum.txt
115123
prerelease: true
116124
tag_name: latest
117125

@@ -139,8 +147,16 @@ jobs:
139147
env:
140148
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
141149

150+
- name: Generate checksum
151+
uses: jmgilman/actions-generate-checksum@v1
152+
with:
153+
method: sha512
154+
patterns: hook_*.tar.gz
155+
142156
- name: Update latest release
143157
uses: softprops/action-gh-release@v1
144158
with:
145159
body: ${{env.RELEASE_NOTES}}
146-
files: hook_*.tar.gz
160+
files: |
161+
hook_*.tar.gz
162+
checksum.txt

0 commit comments

Comments
 (0)