Bump version in the python plugin example as well (#809)

This is a requirement of the new plugin protocol
This commit is contained in:
Stefan Holderbach 2024-04-02 20:27:22 +02:00 committed by GitHub
parent 368785e3ec
commit f1c247aca6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}