Skip to content

Commit

Permalink
release: test
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 5, 2024
1 parent 4236cac commit ec8f051
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,7 @@ jobs:
echo "----- ----- ----- ----- -----"
echo "$RETURN_TAGS"
echo "----- ----- ----- ----- -----"
echo "TAGS<<EOF" >> $GITHUB_ENV
echo "TAGS=$RETURN_TAGS" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: EndBug/add-and-commit@v9
Expand Down
6 changes: 6 additions & 0 deletions scripts/publishPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ function getPackageName(cwd) {
return name
}

const originalWrite = process.stdout.write
process.stdout.write = () => {
/* throw away logs */
}

for (const path of packages) {
try {
const nextVersion = checkForNewVersion(path)
Expand All @@ -50,4 +55,5 @@ for (const path of packages) {
}
}

process.stdout.write = originalWrite
process.stdout.write(tags.map((tag) => tag.trim()).join(' '))

0 comments on commit ec8f051

Please sign in to comment.