chore: update changelog generation to sync database

### CHANGES

- Add database sync command to changelog workflow
- Remove unnecessary newline addition in changelog processing
This commit is contained in:
Kayvan Sylvan
2025-07-26 11:14:02 -07:00
parent 8b6b8fbd44
commit 5d7137804a
2 changed files with 2 additions and 1 deletions

View File

@@ -89,6 +89,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
go run ./cmd/generate_changelog --process-prs ${{ env.new_tag }}
go run ./cmd/generate_changelog --sync-db
- name: Commit changes
run: |
# These files are modified by the version bump process

View File

@@ -140,7 +140,7 @@ func (g *Generator) CreateNewChangelogEntry(version string) error {
continue // Continue to attempt processing other files
}
content.WriteString(string(data))
content.WriteString("\n")
// Note: No extra newline needed here as each incoming file already ends with a newline
}
if len(processingErrors) > 0 {