From dfdd5692d78e05e1a8fd69fdf75557c11342303a Mon Sep 17 00:00:00 2001 From: Devyn Cairns Date: Fri, 19 Apr 2024 13:43:09 -0700 Subject: [PATCH] Add nu_plugin_nu_example to bump-version.nu (#822) What it says on the tin. This just updates the `bump-version.nu` script to also edit the version in the new nu_plugin_nu_example plugin, the same way it does for python --- make_release/bump-version.nu | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/make_release/bump-version.nu b/make_release/bump-version.nu index 6b5d4df..1ea42c6 100755 --- a/make_release/bump-version.nu +++ b/make_release/bump-version.nu @@ -36,7 +36,10 @@ def main [ | save --force $file } - ["crates/nu_plugin_python/nu_plugin_python_example.py"] | each {|file| + [ + "crates/nu_plugin_python/nu_plugin_python_example.py" + "crates/nu_plugin_nu_example/nu_plugin_nu_example.nu" + ] | each {|file| log debug $"bumping ($file) from ($version) to ($new_version)" open --raw $file | str replace --all $'NUSHELL_VERSION = "($version)"' $'NUSHELL_VERSION = "($new_version)"'