We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1453ae8 + 98626b5 commit f9afd26Copy full SHA for f9afd26
.github/workflows/release.yml
@@ -43,11 +43,17 @@ jobs:
43
env:
44
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45
46
+ - name: Get the changelog underline
47
+ id: changelog_underline
48
+ run: |
49
+ underline="$(echo "${{ steps.calver.outputs.release }}" | tr -c '\n' '-')"
50
+ echo "underline=${underline}" >> "$GITHUB_OUTPUT"
51
+
52
- name: "Update changelog"
53
uses: jacobtomlinson/gha-find-replace@v3
54
with:
55
find: "Next\n----"
- replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n------------"
56
+ replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline }}"
57
include: "CHANGELOG.rst"
58
regex: false
59
0 commit comments