mirror of
https://github.com/NixOS/nix
synced 2025-06-28 09:31:16 +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() {
|
trim_trailing_newlines() {
|
||||||
local text
|
local text
|
||||||
text="$(cat)"
|
text="$(cat)"
|
||||||
echo -n "${text//$'\n'}"
|
echo -n "${text}"
|
||||||
}
|
}
|
||||||
|
|
||||||
linkify_gh() {
|
linkify_gh() {
|
||||||
|
|
3
.github/workflows/propose-release.yml
vendored
3
.github/workflows/propose-release.yml
vendored
|
@ -26,6 +26,7 @@ jobs:
|
||||||
extra-commands-early: |
|
extra-commands-early: |
|
||||||
echo ${{ inputs.version }} > .version-determinate
|
echo ${{ inputs.version }} > .version-determinate
|
||||||
git add .version-determinate
|
git add .version-determinate
|
||||||
|
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
|
||||||
./.github/release-notes.sh
|
./.github/release-notes.sh
|
||||||
git add doc
|
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