-
Notifications
You must be signed in to change notification settings - Fork 90
fix(generic-package): fix issues when uploading multiple assets #491
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(generic-package): fix issues when uploading multiple assets #491
Conversation
Now I am experiencing issues with The first file is successfully uploaded, after this everything fails. @fgreinacher I am not sure how to handle this using Config: {
"branches": ["feat/text-semantic-release-gitlab-assets"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/gitlab",
{
"gitlabUrl": "https://code.siemens.com",
"assets": [
{ "path": "generic-package.tar", "label": "tar-example.tar", "target": "generic_package", "status": "default" },
{ "path": "generic-package.7z", "label": "7z-example.7z", "target": "generic_package" },
{ "path": "generic-package.txt", "label": "txt-example.txt", "target": "generic_package", "status": "hidden" }
]
}
]
]
} The file is put into a tar and 7z using 7zip: |
I will try to figure it out tomorrow. Maybe using the stream API |
…ues uploading multiple assets semantic-release#490
I am using |
I don't know the history of this, but generally streams/async operations are considered best practice, especially for bigger payloads, because they don't block the application. In the case of |
The changes look good to me. Do you want to make additional changes @JonasSchubert? |
Thanks for the feedback @fgreinacher. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking care!
🎉 This PR is included in version 10.1.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This should fix #490 (WIP). Working on it I found some issues which were not recognized yet:
gitlapApiUrl
is set