Skip to content

Commit

Permalink
should be good
Browse files Browse the repository at this point in the history
  • Loading branch information
mangs committed Mar 29, 2024
1 parent 18ad37a commit b20d604
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions scripts/publishReleaseNotes.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,11 @@ try {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${githubToken}`,
'Content-Type': 'application/json',
// 'User-Agent': repositoryMetadata,
},
method: 'POST',
});
console.log('✅ SUCCESS CREATING RELEASE');
console.log(response);
// prettyPrintJson(response);
prettyPrintJson(await response.json());
} catch (error) {
console.error('❌ ERROR CREATING RELEASE');
throw error;
Expand All @@ -134,13 +132,12 @@ try {
Accept: 'application/vnd.github.v3+json',
Authorization: `Bearer ${githubToken}`,
'Content-Type': 'application/json',
// 'User-Agent': repositoryMetadata,
},
method: 'PATCH',
},
);
console.log('✅ SUCCESS UPDATING MAJOR TAG');
prettyPrintJson(response);
prettyPrintJson(await response.json());
} catch (error) {
console.error('❌ ERROR UPDATING MAJOR TAG');
throw error;
Expand Down

0 comments on commit b20d604

Please sign in to comment.