From 91e29702232f6bc36e9d81b6bbac614c30b7b0ad Mon Sep 17 00:00:00 2001 From: Adam McKellar Date: Mon, 11 Aug 2025 18:42:15 +0200 Subject: [PATCH] docs: fix version bump script in developer readme not writing as message automatically --- DEVELOPMENT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEVELOPMENT.md b/DEVELOPMENT.md index 7871c83..b85a9c0 100644 --- a/DEVELOPMENT.md +++ b/DEVELOPMENT.md @@ -162,14 +162,14 @@ node-plugin/ If you are on powershell and have [ripgrep](https://github.com/BurntSushi/ripgrep) installed: ```pwsh $CAL_NODE_VERSION = rg '^.*\"version\"\:\s*\"(?[0-9]{1,}\.[0-9]{1,}\.[0-9]{1,})\".*$' .\package.json -r '$version' - git tag -s "v$CAL_NODE_VERSION" + git tag -s "v$CAL_NODE_VERSION" -m "Release v$CAL_NODE_VERSION" git push origin "v$CAL_NODE_VERSION" ``` Or on bash: ```bash CAL_NODE_VERSION=$(grep -o '"version": "[0-9]\+\.[0-9]\+\.[0-9]\+"' package.json | grep -o '[0-9]\+\.[0-9]\+\.[0-9]\+') - git tag -s "v$CAL_NODE_VERSION" + git tag -s "v$CAL_NODE_VERSION" -m "Release v$CAL_NODE_VERSION" git push origin "v$CAL_NODE_VERSION" ```