From 451880f8d95f8a10a521520218f279d553f1e518 Mon Sep 17 00:00:00 2001 From: Jonathan Edey <145066863+jonathanedey@users.noreply.github.com> Date: Tue, 23 Jan 2024 14:22:39 -0500 Subject: [PATCH] [chore] Release 6.4.0 Take #2 (#762) --- .github/scripts/publish_preflight_check.sh | 1 + .github/workflows/release.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/publish_preflight_check.sh b/.github/scripts/publish_preflight_check.sh index c5e231690..1d001c3b9 100755 --- a/.github/scripts/publish_preflight_check.sh +++ b/.github/scripts/publish_preflight_check.sh @@ -172,6 +172,7 @@ echo "$CHANGELOG" # See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#example-of-a-multiline-string # and https://github.com/github/docs/issues/21529#issue-1418590935 FILTERED_CHANGELOG=`echo "$CHANGELOG" | grep -v "\\[INFO\\]"` +FILTERED_CHANGELOG="${FILTERED_CHANGELOG//$'\''/'"'}" echo "changelog<> $GITHUB_OUTPUT echo -e "$FILTERED_CHANGELOG" >> $GITHUB_OUTPUT echo "CHANGELOGEOF" >> $GITHUB_OUTPUT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 60cd9f457..adfde4886 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -118,7 +118,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: gh release create ${{ steps.preflight.outputs.version }} --title "Firebase Admin Python SDK ${{ steps.preflight.outputs.version }}" - --notes "${{ steps.preflight.outputs.changelog }}" + --notes '${{ steps.preflight.outputs.changelog }}' - name: Publish to Pypi uses: pypa/gh-action-pypi-publish@release/v1