Skip to content

Commit

Permalink
Bump version in the python plugin example as well (nushell#809)
Browse files Browse the repository at this point in the history
This is a requirement of the new plugin protocol
  • Loading branch information
sholderbach committed Apr 2, 2024
1 parent 368785e commit f1c247a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions make_release/bump-version.nu
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,11 @@ def main [
| save --force $file
}

["crates/nu_plugin_python/nu_plugin_python_example.py"] | each {|file|
log debug $"bumping ($file) from ($version) to ($new_version)"
open --raw $file
| str replace --all $'NUSHELL_VERSION = "($version)"' $'NUSHELL_VERSION = "($new_version)"'
| save --force $file
}
null
}

0 comments on commit f1c247a

Please sign in to comment.