Skip to content

Commit 91272e4

Browse files
committed
ci: update readme version patch
1 parent ea9467e commit 91272e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
fi
4444
# Update README installation section: id("com.quarkdown.amber") version "x.y.z"
4545
if [ -f README.md ]; then
46-
sed -E -i.bak "s/(id\\(\"com\\.quarkdown\\.amber\"\\) version \"\")[^\"]+\"/\\1$VERSION\"/g" README.md || true
46+
sed -i.bak -E 's/(id\("com\.quarkdown\.amber"\)\s+version\s+")[^"]+/\1'"$VERSION"'/' README.md || true
4747
rm -f README.md.bak
4848
fi
4949
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)