diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0853a1316..ba099be35 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -60,7 +60,7 @@ jobs: cd docs for f in **/*.md; do # Remove homepage line - sed -i 's/^\*\*Homepage:\*\*/,+1d' "$f" + sed -i '/^\*\*Homepage:\*\*/,+1d' "$f" # Fix relative yaml links sed -i "s|(\./\(.*\.yaml\))|(${{ github.server_url }}/${{ github.repository }}/blob/main/$(dirname "$f")/\1)|g" "$f" done