Skip to content

Commit 67fbbc4

Browse files
committed
wip
1 parent 470e3e8 commit 67fbbc4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/releases.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
outputs:
2020
version: ${{ steps.version.outputs.version }}
21-
notes: ${{ steps.cleaned-notes.outputs.release-notes }}
21+
notes: ${{ steps.cleaned-notes.outputs.notes }}
2222

2323
steps:
2424
- name: Checkout repository
@@ -90,11 +90,11 @@ jobs:
9090
- name: Cleanup release notes
9191
id: cleaned-notes
9292
run: |
93-
NOTES=$(echo $NOTES | sed '/## What/d')
94-
NOTES=$(echo $NOTES | sed '/## New Contributors/,$d')
95-
echo "release-notes=${NOTES}" >> "$GITHUB_OUTPUT"
93+
RELEASE_NOTES=$(echo $RELEASE_NOTES | sed '/## What/d')
94+
RELEASE_NOTES=$(echo $RELEASE_NOTES | sed '/## New Contributors/,$d')
95+
echo "notes=${RELEASE_NOTES}" >> "$GITHUB_OUTPUT"
9696
env:
97-
NOTES: ${{ steps.generated-notes.outputs.release-notes }}
97+
RELEASE_NOTES: ${{ steps.generated-notes.outputs.release-notes }}
9898

9999
- name: Create release
100100
uses: softprops/action-gh-release@v2
@@ -103,7 +103,7 @@ jobs:
103103
with:
104104
tag_name: v${{ steps.version.outputs.version }}
105105
name: v${{ steps.version.outputs.version }}
106-
body: ${{ steps.cleaned-notes.outputs.release-notes }}
106+
body: ${{ steps.cleaned-notes.outputs.notes }}
107107
target_commitish: ${{ github.ref_name }}
108108
make_latest: 'legacy'
109109

0 commit comments

Comments
 (0)