Skip to content

Commit

Permalink
Debug logging
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Feb 2, 2024
1 parent d2753a9 commit 5e9d2e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/release-drafter-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ jobs:
releaseId,
dependencies: deps,
});
console.log("Notes:");
console.log(notes);
await github.rest.repos.updateRelease({
owner,
Expand Down
4 changes: 3 additions & 1 deletion scripts/release/merge-release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ const main = async ({ github, releaseId, dependencies }) => {
const { GITHUB_REPOSITORY } = process.env;
const [owner, repo] = GITHUB_REPOSITORY.split("/");

console.log("@@", { releaseId, dependencies, owner, repo });

const sections = Object.fromEntries(categories.map((cat) => [cat, []]));
for (const dependency of dependencies) {
const releases = await getReleases(github, dependency);
Expand Down Expand Up @@ -126,7 +128,7 @@ if (require.main === module) {
process.exit(1);
}
const [releaseId, ...dependencies] = process.argv.slice(2);
main({ github, releaseId, dependencies }).then((output) => {
main({ github, releaseId, dependencies: ["matrix-react-sdk"] }).then((output) => {
// eslint-disable-next-line no-console
console.log(output);
});
Expand Down

0 comments on commit 5e9d2e0

Please sign in to comment.