mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
Merge pull request #61 from DeterminateSystems/push-plouvlzynksx
Dispatch release notes with a gh token
This commit is contained in:
commit
bb8ae358bc
2 changed files with 3 additions and 2 deletions
2
.github/release-notes.sh
vendored
2
.github/release-notes.sh
vendored
|
@ -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() {
|
||||
|
|
3
.github/workflows/propose-release.yml
vendored
3
.github/workflows/propose-release.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue