Skip to content

Commit cca8ab5

Browse files
michaelreneercopybara-github
authored andcommitted
Fix publish GHA.
``` # expansion is pretty cool # https://www.gnu.org/software/bash/manual/html_node/Shell-Expansions.html echo "hello `world`" echo "hello ${world}" # single quotes disable expansion # https://www.gnu.org/software/bash/manual/html_node/Single-Quotes.html echo 'hello `world`' echo 'hello ${world}' # Problem - single quotes in single quotes echo 'hello ' world' # Fix #1: quote the single quote, which is exciting echo 'hello '"'"' world' # Fix #2: heredoc, maybe more readable but awkward # https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Here-Documents echo <<'EOF' hello ' world EOF ``` PiperOrigin-RevId: 675586161
1 parent f1df51a commit cca8ab5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/publish.yaml

+4-1
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ jobs:
8989
gh release create "v${{ env.version }}" \
9090
--target="${{ github.sha }}" \
9191
--title="TensorFlow Federated ${{ env.version }}" \
92-
--notes='${{ env.description }}'
92+
--notes="$(cat <<'EOF'
93+
${{ env.description }}
94+
EOF
95+
)"
9396
9497
build-package:
9598
name: Build Package

0 commit comments

Comments
 (0)