1
Fork 0
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:
Antoine Stevan 2023-10-14 16:19:04 +02:00 committed by GitHub
parent 907612cc70
commit bc89655422
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

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