mirror of
https://github.com/nushell/nu_scripts.git
synced 2024-08-16 08:50:31 +03:00
Bump version in the python plugin example as well (#809)
This is a requirement of the new plugin protocol
This commit is contained in:
parent
368785e3ec
commit
f1c247aca6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user