Skip to content

Commit

Permalink
ci: suppress release-plz instrumentation output
Browse files Browse the repository at this point in the history
This output makes it difficult to find things in the logs for the release workflow runs.
  • Loading branch information
jacderida authored and joshuef committed Apr 17, 2024
1 parent 93c024e commit 2b796e5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,12 @@ jobs:
# The `release-plz` command publishes crates which had their versions bumped, and also
# creates Github releases. The binaries are then attached to the releases in the
# `upload-github-release-assets` target.
cargo login ${{ secrets.CRATES_IO_TOKEN }}
release-plz release --git-token ${{ secrets.VERSION_BUMP_COMMIT_PAT }}
cargo login "${{ secrets.CRATES_IO_TOKEN }}"
# The use of 'awk' suppresses the annoying instrumentation output
# that makes the log difficult to read.
release-plz release --git-token ${{ secrets.VERSION_BUMP_COMMIT_PAT }} | \
awk '{ if (!/^\s*in release with input/ && !/^\s{4}/) print }'
just upload-github-release-assets
# Now upload the 'latest' versions to S3. This can be done later because the node manager
Expand Down

0 comments on commit 2b796e5

Please sign in to comment.