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

fix(github): update parameters used during upload of release assets #1000

Merged
merged 4 commits into from
Apr 12, 2023

Conversation

writeens
Copy link
Contributor

@writeens writeens commented Apr 12, 2023

The Octokit package powering ShipJS' integration with Github changed the parameters required for uploading a release asset. This change occurred between Octokit's v16 and v17.

ShipJS currently runs on top of v17 of the Octokit package. This means that the method in charge of uploading release assets is broken.

This PR updates this method so its compatible with v17 of the Octokit package.

The PR also includes tests associated with the upload of release assets.

@writeens
Copy link
Contributor Author

I'm not sure why the license/security synk tests fail

@writeens writeens marked this pull request as ready for review April 12, 2023 10:48
@writeens writeens requested a review from Haroenv April 12, 2023 10:49
Copy link
Contributor

@Haroenv Haroenv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes look correct, but we can indeed remove the mime-types dependency

@writeens writeens requested a review from Haroenv April 12, 2023 12:08
@Haroenv Haroenv merged commit 0e66d1a into main Apr 12, 2023
@Haroenv Haroenv deleted the fix/release-assets branch April 12, 2023 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants