Skip to content

Commit 1bbd5a7

Browse files
authored
Update CHANGELOG.md file on release (neo4j#57)
Add section for current release
1 parent 3235fc7 commit 1bbd5a7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/prerelease.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,13 @@ jobs:
3434
- name: Print varaibles
3535
run: |
3636
echo Version: ${{ steps.get-version.outputs.version }}
37+
- name: Update CHANGELOG.md (cross platform supported)
38+
run: |
39+
sed -i.bak -e 's/## Next/## Next\n\n## ${{ steps.get-version.outputs.version }}/' CHANGELOG.md && rm CHANGELOG.md.bak
3740
- uses: EndBug/add-and-commit@v9
3841
with:
3942
author_name: 'Neo4j-GenAI GitHub Action'
4043
author_email: 'team-gen-ai@neo4j.com'
4144
message: 'Bump version to ${{ steps.get-version.outputs.version }}'
42-
add: 'pyproject.toml'
45+
add: "['pyproject.toml', 'CHANGELOG.md']"
4346
tag: '${{ steps.get-version.outputs.version }}'

0 commit comments

Comments
 (0)