Skip to content

Commit 16d532a

Browse files
authored
Merge pull request #3 from TrianaLab/fix/release-checksums
fix(release): publish checksums.txt so pacto update can verify plugins
2 parents c899745 + a8c7aef commit 16d532a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,14 @@ jobs:
6060
path: dist/
6161
merge-multiple: true
6262

63+
# `pacto update` verifies each plugin binary against checksums.txt before
64+
# installing it; without this asset the update fails with a 404. Mirrors
65+
# the pacto CLI's own release (sha256sum over the flat dist dir).
66+
- name: Generate checksums
67+
run: |
68+
cd dist
69+
sha256sum * > checksums.txt
70+
6371
- name: Publish to GitHub Release
6472
uses: softprops/action-gh-release@v2.5.0
6573
with:

0 commit comments

Comments
 (0)