Skip to content

Commit 08eae30

Browse files
authored
fix: remove RELEASE_NOTES.md from repo and add to .gitignore (#37)
RELEASE_NOTES.md is a temporary file generated during the release workflow for goreleaser to consume. It should not be tracked in git.
1 parent 9bc7420 commit 08eae30

3 files changed

Lines changed: 4 additions & 12 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
git config user.name "github-actions[bot]"
5959
git config user.email "github-actions[bot]@users.noreply.github.com"
6060
git remote set-url origin https://x-access-token:${{ secrets.RELEASE_TOKEN }}@github.com/${{ github.repository }}
61-
git add CHANGELOG.md RELEASE_NOTES.md
61+
git add CHANGELOG.md
6262
git commit -m "chore(release): update changelog for ${VERSION}"
6363
git tag "${VERSION}"
6464
git push origin main --tags
@@ -150,6 +150,3 @@ jobs:
150150
"dist/verda_${VER}_binary_SHA256SUMS.pem" \
151151
"dist/verda_${VER}_SHA256SUMS.sig" \
152152
"dist/verda_${VER}_SHA256SUMS.pem"
153-
154-
- name: Clean up release notes
155-
run: rm -f RELEASE_NOTES.md

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,9 @@ scripts/live-test.sh
376376
.claude/commands/
377377
.claude/topic-switch.json
378378

379+
# Release artifacts (generated during CI release workflow)
380+
RELEASE_NOTES.md
381+
379382
# AI working notes and implementation plans (not shipped)
380383
.ai/notes/
381384
docs/plans/

RELEASE_NOTES.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)