1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-08-01 22:57:46 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Douglas
135450607c
Update release-notes template to point to plugins page (#1038)
As mentioned in https://github.com/nushell/nushell.github.io/issues/1788
(fix going forward).
2025-02-07 11:15:22 -05:00
Jakub Žádník
d6b202ce83
Replace Twitter with Nushell blog in release note template (#1036) 2025-02-06 07:20:35 -05:00
Ian Manske
dee0e7efcd
Fix typos (#982) 2024-11-21 23:51:05 -05:00
Ian Manske
fc1d1989b6
Edit release notes template and edit scripts (#981)
Making the release scripts easier to use as well as automating more of
the process.
2024-11-22 03:12:26 +00:00
Ian Manske
71d2eaf516
Edit release notes template (#957)
Renames the `Changes to commands` section to just `Changes`. As such,
the breaking changes section is redundant since `Changes to commands`
already has a breaking changes subsection.
2024-09-17 04:23:45 +00:00
Devyn Cairns
6eb1398f4e
Move notes for plugin developers to top level in release notes (#913)
The changes noted here aren't always breaking changes, so it makes sense
to just have them at top level. I also fixed the missing TOC link.
2024-07-24 02:26:12 +00:00
Ian Manske
e5388d1992
Edit release notes template (#887) 2024-06-26 02:12:36 +00:00
Ian Manske
85205b0e66
Edit release notes template (#853)
- Removes the note about installing the dataframes feature.
- Moves the command changes section to the top level, renames some sub
sections, and adds some more sub sections.
- Moves and simplifies the hall of fame.
2024-05-28 19:32:39 +00:00
Antoine Stevan
77f7b40828
fix the TOC of the release note template (#664)
should be the last one... 😇 

this PR adds `-toc` to the links in the TOC of the release note
template, they need that for the back reference to the TOC itself in the
section titles
2023-11-11 16:30:04 +01:00
Antoine Stevan
4d165fa510
fix the indentation of the comments in the release note template... (#663)
was writing https://github.com/nushell/nushell.github.io/pull/1114 and
noticed a very nice bug...

yeah HTML comments in `.md` documents can't be indented otherwise `npm
install` + `npm run dev` can't render the page 👀
2023-11-11 16:17:55 +01:00
Antoine Stevan
63fa27f702
add a command to get last release date in the release note template (#662)
this PR adds
```nushell
let last_release_date = ^gh api /repos/nushell/nushell/releases
    | from json
    | into datetime published_at
    | get published_at
    | sort
    | last
```
to the relaease note template to get the date of the last release and
list the PRs from there to now.
2023-11-11 16:00:03 +01:00
Antoine Stevan
e5e0ef6f7b
complete the release note template (#637)
i've started writting the [release note for
0.86.0](https://github.com/nushell/nushell.github.io/pull/1071) and
thought we could enhance the template for the note even further:

- add some TODOs to make sure we don't forget anything
- make the `NOTE` a real note in the first section, it's just for
prettier rendering
- add some template tables in the "hall of fame"
-  add a table of content to allow jumping back and forth
more easily when the note starts to get big
2023-11-11 15:43:59 +01:00
Antoine Stevan
d233262a35
add a few enhancements to the create-pr script for releases (#642)
related to
- https://github.com/nushell/nushell.github.io/pull/1114

i had to use `create-pr` to open
https://github.com/nushell/nushell.github.io/pull/1114 and i thought the
script could be improved in a few ways
- the template had a hardcoded `.0` path version in the semver, this PR
removes is so that the CLI argument can be a full semver, e.g. `0.87.0`
- switch from `explore` to `$env.EDITOR` to preview the completed
template: because it's valid markdown, it looks better in an editor
- fetch the website repo with HTTP and push with SSH: this allows to not
enter the password of an SSH key in the clone step
2023-11-11 15:38:57 +01:00
Antoine Stevan
7d843e5c7b
make list-merged-prs a module and add template example (#636)
to help writing the release notes, i think being able to list all the
PRs between the last two releases and format them directly to a raw
table is really nice.
this PR
- `export`s the `main` command from `list-merged-prs`
- adds an example to the `template.md` file of the release notes

the example:
```nushell
use ./make_release/release-note/list-merged-prs

list-merged-prs nushell/nushell <last-release-date>
    | where author != "app/dependabot"
    | sort-by mergedAt
    | update url {|it| $"[#($it.number)]\(($it.url)\)" }
    | update author { $"[@($in)]\(https://github.com/($in)\)" }
    | select author title url
    | rename -c {url: pr}
    | to md --pretty
```
will dump all the PRs in a `table<author: string, title: string, pr:
string>` in `md` format:
- `author` is a mardown link to the GitHub page of each author
- `title` is the title of the PRs
- `pr` is a markdown link to the GitHub page of each PR

this pipeline will omit the contributions from @app/dependabot.
2023-11-11 15:36:38 +01:00
Antoine Stevan
a68382130c
enhance release note PR template (#618)
in this PR i propose
- to add a note about the use of a "breaking change" banner when
detailing a breaking change in it's own section
👉 see the [*Pythonesque operators removal* section of
0.85](https://www.nushell.sh/blog/2023-09-19-nushell_0_85_0.html#pythonesque-operators-removal)
- because we have had these sections for a few releases now, add "hall
of fame" and "changed to commands" sections
2023-10-14 09:39:24 +02:00
Antoine Stevan
4f0e47d954
make the release note TODOs HTML comments (#557) 2023-07-20 13:47:46 -05:00
Antoine Stevan
2e46f056c6
REFACTOR: rewrite the release note scripts (#525)
* move "create release PR" script to `make_release/release-note/`

* move "since last release" script to `make_release/release-note/`

* add a script to list contributions for the release note

* rewrite `since_last_release` to use `list-merged-prs`

This commit also makes the script executable.

* update the `make_release/` readme

* add the commands to run to the release note template

* rename `since_last_release.nu` to `get-full-changelog`

* move the release note PR template to a standalone file

* add another section to inspect Nushell PRs to write changelogs

* fix the name of the command inside it's own doc
2023-06-09 15:26:46 -05:00