Skip to content

Commit f5bdef7

Browse files
committed
chore: simple release notes
1 parent d7ddff6 commit f5bdef7

File tree

3 files changed

+26
-24
lines changed

3 files changed

+26
-24
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,6 @@ jobs:
5050
git push origin v$VERSION
5151
echo "✓ Release v$VERSION created and pushed"
5252
53-
- name: Generate release notes
54-
id: changelog
55-
run: |
56-
VERSION="${{ github.event.inputs.version }}"
57-
git cliff --latest --strip all --output RELEASE_NOTES.md
58-
echo "Generated release notes for v$VERSION"
59-
6053
- name: Create GitHub Release
6154
uses: softprops/action-gh-release@v2
6255
with:

.gitignore

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
*.exe
2+
*.exe~
3+
*.dll
4+
*.so
5+
*.dylib
6+
*.test
7+
*.out
8+
coverage/
9+
coverage.html
10+
/bin/
11+
.idea/
12+
.vscode/
13+
.DS_Store
14+
Thumbs.db
15+
*.log
16+
.env
17+
*.o
18+
*.a
19+
debug
20+
RELEASE_NOTES.md

justfile

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,17 @@ fmt-check:
2424
check: lint fmt-check
2525
@echo "✓ All checks passed"
2626

27-
# Generate changelog for latest release
28-
changelog:
29-
@echo "→ Generating changelog with git‑cliff…"
30-
@git cliff --latest --prepend {{ changelog }}
31-
@git cliff --latest --strip all --output LATEST_CHANGELOG.md
32-
@echo "Changelog written to {{ changelog }}"
33-
34-
# Create a release tag
27+
# Create new version tag (format: vX.Y.Z)
3528
tag VERSION:
3629
@echo "Creating tag v{{ VERSION }}..."
3730
@git checkout main
3831
@git pull origin main
3932
@echo "Updating {{ version_file }}..."
4033
@echo "{{ VERSION }}" > {{ version_file }}
41-
@echo "→ Generating changelog for v{{ VERSION }}"
34+
@echo "→ Generating changelog..."
4235
@git cliff --unreleased --tag "v{{ VERSION }}" --prepend {{ changelog }}
43-
@git cliff --unreleased --tag "v{{ VERSION }}" --strip all --output LATEST_CHANGELOG.md
44-
@git add {{ changelog }} LATEST_CHANGELOG.md {{ version_file }}
45-
@git commit -m "chore(release): v{{ VERSION }}"
36+
@git cliff --unreleased --tag "v{{ VERSION }}" --strip all > RELEASE_NOTES.md
37+
@git add {{ changelog }} {{ version_file }}
38+
@git commit -m "chore: release v{{ VERSION }}"
4639
@git tag -a v{{ VERSION }} -m "Release v{{ VERSION }}"
47-
@echo "Tag v{{ VERSION }} created. Push with: git push && git push origin v{{ VERSION }}"
48-
49-
# Show current version
50-
version:
51-
@cat {{ version_file }}
40+
@echo "Push: git push && git push origin v{{ VERSION }}"

0 commit comments

Comments
 (0)