mirror of
https://github.com/RGBCube/nu_scripts
synced 2025-08-01 06:37: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
|
||||
|
|
|
@ -2,7 +2,7 @@ use std log
|
|||
|
||||
def publish [
|
||||
crate: path # the path to the crate to publish.
|
||||
--no-verify: bool # don’t verify the contents by building them. Can be useful for crates with a `build.rs`.
|
||||
--no-verify # don’t verify the contents by building them. Can be useful for crates with a `build.rs`.
|
||||
] {
|
||||
cd $crate
|
||||
|
||||
|
|
|
@ -13,8 +13,8 @@ def main [
|
|||
repo: string # the name of the repo, e.g. `nushell/nushell`
|
||||
date?: datetime # the date of the last release (default to 4 weeks ago, excluded)
|
||||
--label: string # the label to filter the PRs by, e.g. `good-first-issue`
|
||||
--pretty: bool # pretty-print for the MarkDown release not
|
||||
--no-author: bool # do not group the contributions by author
|
||||
--pretty # pretty-print for the MarkDown release not
|
||||
--no-author # do not group the contributions by author
|
||||
] {
|
||||
let date = $date | default ((date now) - 4wk) | format date "%Y-%m-%d"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue