Skip to content

Commit bb8ae35

Browse files
authored
Merge pull request #61 from DeterminateSystems/push-plouvlzynksx
Dispatch release notes with a gh token
2 parents 917d617 + 220fa1e commit bb8ae35

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/release-notes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ gh api "/repos/${GITHUB_REPOSITORY}/releases/generate-notes" \
2424
trim_trailing_newlines() {
2525
local text
2626
text="$(cat)"
27-
echo -n "${text//$'\n'}"
27+
echo -n "${text}"
2828
}
2929

3030
linkify_gh() {

.github/workflows/propose-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
extra-commands-early: |
2727
echo ${{ inputs.version }} > .version-determinate
2828
git add .version-determinate
29+
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
2930
./.github/release-notes.sh
3031
git add doc
31-
git commit -m "Set .version-determinate to ${{ inputs.version }}" || true
32+
git commit -m "Generare release notes for ${{ inputs.version }}" || true

0 commit comments

Comments
 (0)