mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 22:57:46 +00:00
make_release: do not annotate boolean switches in public API (#635)
related to - https://github.com/nushell/nushell/pull/10456 - https://github.com/nushell/nushell.github.io/pull/1071 ## description after the changes on boolean switches from https://github.com/nushell/nushell/pull/10456, we need to not annotate then with `: bool` when part of a public API. this PR is required for https://github.com/nushell/nushell.github.io/pull/1071 to move forward.
This commit is contained in:
parent
907612cc70
commit
bc89655422
3 changed files with 4 additions and 4 deletions
|
@ -3,7 +3,7 @@ use std log
|
|||
|
||||
# bump the minor or patch version of the Nushell project
|
||||
def main [
|
||||
--patch: bool # update the minor version instead of the minor
|
||||
--patch # update the minor version instead of the minor
|
||||
]: nothing -> nothing {
|
||||
let version = open Cargo.toml
|
||||
| get package.version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue