Skip to content

Commit

Permalink
ci(release): fix changelog references in release.yml (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
wpbonelli authored Feb 8, 2024
1 parent 76031f3 commit 659b723
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ jobs:
OUTPUT: CHANGELOG.md

- name: Update changelog
id: update-changelog
run: |
# substitute full group names
sed -i 's/#### Ci/#### Continuous integration/' CHANGELOG.md
Expand Down Expand Up @@ -92,11 +91,10 @@ jobs:
GITHUB_TOKEN: ${{ github.token }}
run: |
ver="${{ steps.version.outputs.version }}"
changelog=$(cat ${{ steps.update-changelog.outputs.changelog }} | grep -v "### Version $ver")
changelog=$(cat CHANGELOG.md | grep -v "### Version $ver")
# remove this release's changelog so we don't commit it
# the changes have already been prepended to HISTORY.md
rm ${{ steps.update-changelog.outputs.changelog }}
rm -f CHANGELOG.md
# commit and push changes
Expand Down

0 comments on commit 659b723

Please sign in to comment.