From c04808de4b161b998949a6a51cf7d1b9a4803ea5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Jos=C3=A9?= Date: Tue, 31 Jan 2023 13:58:12 -0500 Subject: [PATCH] doc: correct the `sed` command for macOS in release process docs PR-URL: https://github.com/nodejs/node/pull/46397 Reviewed-By: Antoine du Hamel Reviewed-By: Rafael Gonzaga --- doc/contributing/releases.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/contributing/releases.md b/doc/contributing/releases.md index c2f26eebe884f3..5c3d372aaed5fb 100644 --- a/doc/contributing/releases.md +++ b/doc/contributing/releases.md @@ -428,6 +428,12 @@ and substitute this node version with sed -i "s/REPLACEME/$VERSION/g" doc/api/*.md ``` +For macOS requires the extension to be specified. + +```bash +sed -i "" "s/REPLACEME/$VERSION/g" doc/api/*.md +``` + or ```console