Skip to content

Commit 7355f67

Browse files
committed
fix: simplify release notes to single line for YAML compatibility
- Convert multi-line release notes to single line format - Avoid YAML parsing issues with line breaks in quoted strings - Keep essential information in release notes
1 parent 421a8c4 commit 7355f67

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

.github/workflows/publish-to-releases.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -135,33 +135,9 @@ jobs:
135135
echo "Creating release: $RELEASE_TAG"
136136
137137
# Create release dengan artifacts
138-
NOTES="Pre-compiled gRPC extension for PHP ${PHP_VERSION}
139-
140-
gRPC Version: ${GRPC_VERSION}
141-
PHP Version: ${PHP_VERSION}
142-
Built on: Ubuntu 22.04
143-
Architectures: AMD64, ARM64
144-
145-
## Usage in Dockerfile:
146-
147-
\`\`\`dockerfile
148-
FROM php:${PHP_VERSION}-fpm
149-
150-
RUN curl -L -o /tmp/grpc.so \\
151-
https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}/grpc-amd64.so && \\
152-
mv /tmp/grpc.so /usr/local/lib/php/extensions/no-debug-non-zts-20220829/grpc.so && \\
153-
docker-php-ext-enable grpc && \\
154-
rm -rf /tmp/*
155-
\`\`\`
156-
157-
## Available Downloads:
158-
159-
- grpc-amd64.so: https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}/grpc-amd64.so
160-
- grpc-arm64.so: https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}/grpc-arm64.so"
161-
162138
gh release create "$RELEASE_TAG" \
163139
--title "$RELEASE_NAME" \
164-
--notes "$NOTES" \
140+
--notes "Pre-compiled gRPC extension for PHP ${PHP_VERSION} - gRPC Version: ${GRPC_VERSION} - PHP Version: ${PHP_VERSION} - Built on Ubuntu 22.04 (AMD64, ARM64) - Download: https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}/grpc-amd64.so and https://github.com/${{ github.repository }}/releases/download/${RELEASE_TAG}/grpc-arm64.so" \
165141
artifacts/grpc-amd64.so \
166142
artifacts/grpc-arm64.so
167143

0 commit comments

Comments
 (0)