Skip to content

Commit

Permalink
add shasum support to package metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
ezekg committed Nov 5, 2024
1 parent 267109e commit 1ccbfe6
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ def show
metadata[:versions][artifact.version] = package_json.merge(
dist: {
tarball: vanity_v1_account_release_artifact_url(current_account, artifact, filename: artifact.filename, host: request.host),
},
# FIXME(ezekg) only include valid SHA1 checksums?
shasum: artifact.checksum,
}.compact,
)

metadata
Expand Down
Loading

0 comments on commit 1ccbfe6

Please sign in to comment.