From e600783dae17539af29b45d66d34f786cf14db27 Mon Sep 17 00:00:00 2001 From: Trezy Date: Wed, 14 Aug 2024 11:15:17 -0500 Subject: [PATCH] ci: fix Github echo target --- .github/workflows/handle-release-branch-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/handle-release-branch-push.yml b/.github/workflows/handle-release-branch-push.yml index 72cf651e..40f4a01a 100644 --- a/.github/workflows/handle-release-branch-push.yml +++ b/.github/workflows/handle-release-branch-push.yml @@ -52,7 +52,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} id: release run: | - export NEXT_TAG_VERSION=$(npx semantic-release | tee /dev/tty | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/') + export NEXT_TAG_VERSION=$(npx semantic-release | tee >(cat >&2) | grep 'The next release version is' | sed -E 's/.* ([[:digit:].]+)$/\1/') echo "new_tag_version=${NEXT_TAG_VERSION}" >> $GITHUB_OUTPUT shell: bash