Skip to content

Commit c91dcc1

Browse files
author
Pat
authored
scripts: fix check for container version (fluent#1269)
Signed-off-by: Patrick Stephens <[email protected]>
1 parent 35aaad3 commit c91dcc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-release-version-docs.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ if [[ -z "$MAJOR_VERSION" ]]; then
2929
fi
3030

3131
# Add Docker after first line in the table
32-
if grep -q "$NEW_VERSION" "$SCRIPT_DIR"/installation/docker.md; then
32+
if grep -Fq "$NEW_VERSION" "$SCRIPT_DIR"/installation/docker.md; then
3333
echo "Found $NEW_VERSION already in the Docker docs so skipping update"
3434
else
3535
sed_wrapper -i -e "/| -.*$/a | $NEW_VERSION | x86\_64, arm64v8, arm32v7, s390x | Release [v$NEW_VERSION](https://fluentbit.io/announcements/v$NEW_VERSION/) |" "$SCRIPT_DIR"/installation/docker.md

0 commit comments

Comments
 (0)