Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(publish): fix incorrect Debian data #218

Merged
merged 1 commit into from
Aug 2, 2022
Merged

Conversation

aloisklink
Copy link
Contributor

I'm not very smart! I never actually tested whether the .deb's created by GitHub were accurate.

It looks like by not passing a data param, the the data just became a JSON string of the file, so the size looked right, but it was useless data.

E.g., instead of the .deb file on the https://github.com/nqminds/edgesec/releases pages being real .debs, they were just strings of "file":{"type":"Buffer","data":[33,60,97,114,99,104,62,10,100,...

According to the official GitHub API docs, the actual field name is data: https://octokit.github.io/rest.js/v18#repos-upload-release-asset

I'm not very smart! I never actually tested whether the `.deb`'s created by GitHub were accurate.

It looks like by not passing a `data` param, the the data just became a JSON string of the file, so the size looked right, but it was useless data.
@aloisklink aloisklink merged commit bdd643e into main Aug 2, 2022
@aloisklink aloisklink deleted the aloisklink-patch-2 branch August 2, 2022 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants