Skip to content

Commit

Permalink
Merge pull request #1120 from VWS-Python/rm-all-extras
Browse files Browse the repository at this point in the history
rm all extras
  • Loading branch information
adamtheturtle authored Oct 8, 2024
2 parents 67504ef + f3f168f commit 99e85a7
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,17 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get the changelog underline
id: changelog_underline
run: |
underline="$(echo "${{ steps.calver.outputs.release }}" | tr -c '\n' '-')"
echo "underline=${underline}" >> "$GITHUB_OUTPUT"
- name: "Update changelog"
uses: jacobtomlinson/gha-find-replace@v3
with:
find: "Next\n----"
replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n------------"
replace: "Next\n----\n\n${{ steps.calver.outputs.release }}\n${{ steps.changelog_underline.outputs.underline }}"
include: "CHANGELOG.rst"
regex: false

Expand Down

0 comments on commit 99e85a7

Please sign in to comment.