mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00: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
1 changed files with 6 additions and 0 deletions
|
@ -36,5 +36,11 @@ def main [
|
||||||
| save --force $file
|
| 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
|
null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue