You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We call upload from multiple build machines for each release. Only one of those uploads contain a body. Any call to upload that doesn't include a body causes the body of the release to be overwritten with an empty string. Could you not write body if it's empty? For example:
case 22:
var data = {
owner: owner,
repo: repo,
release_id: release.id,
tag_name: tag,
name: name || tag,
draft: draft === undefined ? !!release.draft : false,
prerelease: prerelease === undefined ? !!release.prerelease : false
};
var body = (body === undefined ? release.body || '' : body || '');
if(body !== '')
data['body'] = body;
console.log('> updateRelease: release_id=' + release.id + ', tag_name=' + tag + ', name=' + (name || tag));
_context.next = 25;
return octokit.repos.updateRelease(data);
The text was updated successfully, but these errors were encountered:
We call upload from multiple build machines for each release. Only one of those uploads contain a body. Any call to upload that doesn't include a body causes the body of the release to be overwritten with an empty string. Could you not write body if it's empty? For example:
The text was updated successfully, but these errors were encountered: