1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 05:21:16 +02:00

Merge pull request #61 from DeterminateSystems/push-plouvlzynksx

Dispatch release notes with a gh token
This commit is contained in:
Graham Christensen 2025-05-09 20:10:45 +00:00 committed by GitHub
commit bb8ae358bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -24,7 +24,7 @@ gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
trim_trailing_newlines() {
local text
text="$(cat)"
echo -n "${text//$'\n'}"
echo -n "${text}"
}
linkify_gh() {

View file

@ -26,6 +26,7 @@ jobs:
extra-commands-early: |
echo ${{ inputs.version }} > .version-determinate
git add .version-determinate
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
./.github/release-notes.sh
git add doc
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
git commit -m "Generare release notes for ${{ inputs.version }}" || true