Commit Graph
14 Commits
Author SHA1 Message Date
Peter Tripp ba3acaca3e Minor improvements to release tooling (#17502)
- bump-version.sh: Push tag before branch; speeds up release action runs (built from tag).
- get-changes: Fetch GITHUB_ACCESS_TOKEN via `gh auth token` if env var unset.
2024-09-06 13:34:33 -04:00
Joseph T Lyons 5da40772a6 Fetch staff members from GitHub org 2024-08-11 15:10:45 -04:00
Joseph T Lyons 6f003809c4 Don't thank staff members in release notes 2024-08-11 15:02:57 -04:00
Joseph T Lyons d620ebd514 Fix isStaff boolean logic 2024-08-08 17:00:10 -04:00
Joseph T Lyons 64f1ae2c84 Filter out staff members from thanks line 2024-08-08 16:26:45 -04:00
Joseph T. Lyons bcbd9deb64 Link to pull requests in changelog notes (#15996)
This PR changes how we ask users to draft up PRs and how release note
generation happens.

We no longer force the user to create the markdown URL link, but we do
ask them to use the `closes` [GitHub magic
word](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)
to link the PR to an issue, so that the issue is closed automatically
when closing the PR.

As for the changelog release notes, we are no longer linking to the
issues, but the PR itself, which should contain the issue if a reader
wants to dive further back. This makes our output more consistent, as
every line will have a link, even if there is no issue associated, and
it removes the need for us to try to parse the issue url in the body to
try to correct mistakes in how they were forming Markdown urls - the PR
url is always returned in the request, which makes it easy. **Lastly,
it's just a lot less annoying to make the release notes.**

The new PR format will be:

```
Closes #ISSUE

Release Notes:

- Added/Fixed/Improved ...
```

The new script output format will be:

```
PR Title: theme: Use a non-transparent color for the fallback `title_bar.inactive_background`
Credit: ([#15709](https://github.com/zed-industries/zed/pull/15709); thanks [maxdeviant](https://github.com/maxdeviant))
Release Notes:

- linux: Changed the fallback color of `title_bar.inactive_background` to a non-transparent value.
--------------------------------------------------------------------------------
PR Title: Skip over folded regions when iterating over multibuffer chunks
Credit: ([#15646](https://github.com/zed-industries/zed/pull/15646); thanks [osiewicz](https://github.com/osiewicz))
Release Notes:

- Fixed poor performance when editing in the assistant panel after inserting large files using slash commands
--------------------------------------------------------------------------------
```

This still requires us to manually apply the credit line, but the line
is already fully formed, so this should still be faster than having to
manually create that line / fix any line where someone messed it up
(which was all the time). I would just automatically apply it to the
release notes, but sometimes we have multiple bullet points in a single
PR and no real structure is enforced, so I foresee doing anything
automatic breaking and needing manual adjustment.

Release Notes:

- N/A
2024-08-08 15:26:17 -04:00
Joseph T Lyons 09aeab2ad8 Fix contributor-scraping code 2024-07-24 12:34:42 -04:00
Joseph T Lyons fedd7db346 Add PR author to release notes scraper script 2024-07-17 13:20:19 -04:00
Conrad Irwin 053c7fc0e7 get-preview-channel-changes errors on invalid token (#9616)
Release Notes:

- N/A
2024-03-20 21:44:12 -06:00
Joseph T. LyonsandPiotr Osiewicz 33b5e84df2 Improve get preview channel changes script
- Filter out N/As
- Identify missing release note lines

Co-Authored-By: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
2023-11-08 11:40:53 -05:00
Joseph Lyons 0452ebf652 Indent all release note lines for each PR 2023-05-22 14:44:05 -04:00
Joseph Lyons 3268bac5e4 Fix up formatting for get preview channel changes script 2023-05-22 00:02:19 -04:00
Joseph Lyons d05a3a6abd Fix get preview channel changes script 2023-05-21 23:40:07 -04:00
Max BrunsfeldandJoseph Lyons 4ab2d76af1 Adjust script for getting changes to put in release notes
Now, this script is only useful for the preview channel's releases. The
stable channel's release notes can be mostly copied from the existing
preview releases notes.

Co-authored-by: Joseph Lyons <joseph@zed.dev>
2022-11-02 10:55:48 -07:00