Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Release Notification Doesn't Include Release Notes #726

Open
OliverOffing opened this issue Aug 14, 2024 · 5 comments
Open

New Release Notification Doesn't Include Release Notes #726

OliverOffing opened this issue Aug 14, 2024 · 5 comments

Comments

@OliverOffing
Copy link

For some reason, the notification I get from GitHub for new releases for nix-bitcoin doesn't include release notes.

Is there anything we can change in the release process to make them show up?

I understand this is a relatively small, lower priorty issue, but I'd greatly appreciate it.

image

image

@jonasnick
Copy link
Member

The reason this happens is probably that I create releases with our push-release.sh script which does not add release notes. To then add release notes, I use the github web interface to edit the release.

@erikarvstedt
Copy link
Collaborator

@jonasnick, I could amend the push-release.sh script to allow editing the release notes with EDITOR, like in git interactive rebase. This way, the release is created with the complete release notes.
Would this fit your workflow?

Which script do you use to create the Change Log section of the release notes? We could integrate it into the release script.

@jonasnick
Copy link
Member

Thanks @erikarvstedt, this would work. I don't have a script to create the Change Log section.

@erikarvstedt
Copy link
Collaborator

So you create the change log section manually?

@jonasnick
Copy link
Member

I use this

#!/usr/bin/env bash
set -euo pipefail

REPO=fort-nix/nix-bitcoin

curl https://api.github.com/repos/$REPO/pulls?state=closed | jq '.[] | {closed_at,number,title,user: .user.login}' | jq -c -r '.closed_at + " #" + (.number|tostring) + " " + .title + " (@" + .user + ")"' | sort | awk -F' ' '{$1 = ""; print}'

but it just shows all PRs instead of the ones since the last release and it doesn't distinguish closed from merged PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants