@@ -223,6 +223,11 @@ jobs:
223
223
tag_name : " v${{ env.RELEASE_VERSION }}"
224
224
files : archives/*
225
225
226
+ - name : Create checksums from font packages
227
+ run : |
228
+ cd -- "$GITHUB_WORKSPACE/archives"
229
+ sha256sum * > SHA-256-${{ matrix.font }}.txt
230
+
226
231
- name : Upload patched fonts as artifacts
227
232
uses : actions/upload-artifact@v4
228
233
with :
@@ -232,6 +237,7 @@ jobs:
232
237
path : |
233
238
LICENSE
234
239
patched-fonts/${{ matrix.font }}
240
+ archives/SHA*
235
241
236
242
release-font-patcher :
237
243
name : Archive font patcher and add to release
@@ -268,6 +274,9 @@ jobs:
268
274
commit :
269
275
name : Commit and push patched fonts to the repo, finalize release
270
276
needs : [ setup-fonts-matrix, build, release-font-patcher ]
277
+ env :
278
+ RELEASE_VERSION : ${{ needs.setup-fonts-matrix.outputs.rel_version }}
279
+ RELEASE_CANDIDATE : ${{ needs.setup-fonts-matrix.outputs.rel_candidate }}
271
280
runs-on : ubuntu-latest
272
281
steps :
273
282
- uses : actions/checkout@v4
@@ -284,10 +293,21 @@ jobs:
284
293
path : .
285
294
merge-multiple : true
286
295
296
+ - name : Create complete checksums file
297
+ run : |
298
+ cd -- "$GITHUB_WORKSPACE/archives"
299
+ cat SHA-256-* | sort -k 2 > SHA-256.txt
300
+
301
+ - name : Upload checksums for release
302
+ uses : softprops/action-gh-release@v2
303
+ if : needs.setup-fonts-matrix.outputs.rel_upload == 'true'
304
+ with :
305
+ draft : true
306
+ prerelease : ${{ env.RELEASE_CANDIDATE != 'false' }}
307
+ tag_name : " v${{ env.RELEASE_VERSION }}"
308
+ files : archives/SHA-256.txt
309
+
287
310
- name : Bump version for source files
288
- env :
289
- RELEASE_VERSION : ${{ needs.setup-fonts-matrix.outputs.rel_version }}
290
- RELEASE_CANDIDATE : ${{ needs.setup-fonts-matrix.outputs.rel_candidate }}
291
311
run : |
292
312
cd -- "$GITHUB_WORKSPACE/bin/scripts"
293
313
./version-bump.sh "$RELEASE_VERSION"
0 commit comments