Skip to content

Commit fe4bb08

Browse files
committed
chore: prepare for v0.1.5 release
1 parent a7e81ad commit fe4bb08

File tree

4 files changed

+26
-59
lines changed

4 files changed

+26
-59
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,20 @@ jobs:
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Extract changelog for release notes
24-
run: |
25-
VERSION=$(echo ${{ github.ref_name }} | sed 's/^v//')
26-
# Extract the changelog section for this version
27-
CHANGELOG_CONTENT=$(sed -n "/## \[$VERSION\]/,/^## \[/p" CHANGELOG.md | sed '$d')
28-
# If no content found, use a default message
29-
if [ -z "$CHANGELOG_CONTENT" ]; then
30-
CHANGELOG_CONTENT="Release ${{ github.ref_name }}"
31-
fi
32-
echo "CHANGELOG_CONTENT<<EOF" >> $GITHUB_ENV
33-
echo "$CHANGELOG_CONTENT" >> $GITHUB_ENV
34-
echo "EOF" >> $GITHUB_ENV
23+
- name: Install git-cliff
24+
run: cargo install git-cliff
25+
26+
- name: Generate release notes
27+
run: |
28+
git cliff --tag ${{ github.ref_name }} --strip header > release_notes.md
29+
CHANGELOG_CONTENT=$(cat release_notes.md)
30+
# If no content found, use a default message
31+
if [ -z "$CHANGELOG_CONTENT" ]; then
32+
CHANGELOG_CONTENT="Release ${{ github.ref_name }}"
33+
fi
34+
echo "CHANGELOG_CONTENT<<EOF" >> $GITHUB_ENV
35+
echo "$CHANGELOG_CONTENT" >> $GITHUB_ENV
36+
echo "EOF" >> $GITHUB_ENV
3537
3638
- name: Create Release
3739
run: |

.opencode/agent/perplexity-analyzer.md

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

CHANGELOG.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
1-
# Changelog
2-
3-
All notable changes to this project will be documented in this file.
4-
5-
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6-
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7-
81
## [0.1.5] - 2025-10-16
92

103
### ⚙️ Miscellaneous Tasks
114

125
- Bump version to 0.1.5 for patch release
6+
## [0.1.6] - 2025-10-16
137

8+
### ⚙️ Miscellaneous Tasks
9+
10+
- Bump version to 0.1.6 for patch release
1411
## [0.1.4] - 2025-10-16
1512

1613
### 🚀 Features
@@ -33,14 +30,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3330
### 📚 Documentation
3431

3532
- Update agent documentation with GOAP coordination learnings
36-
3733
## [0.1.3] - 2025-10-12
3834

3935
### 🚀 Features
4036

4137
- Add monitoring workflow to track recent workflow failures
4238
- Complete GitHub workflows and branch protection
43-
4439
## [0.1.3-test] - 2025-10-10
4540

4641
### 🚀 Features
@@ -63,13 +58,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6358
### 📚 Documentation
6459

6560
- Optimize ci-agent.md with orchestration workflow and agent handoffs
66-
6761
## [0.1.2] - 2025-10-09
6862

6963
### 💼 Other
7064

7165
- Bump version to 0.1.2
72-
7366
## [0.1.1] - 2025-10-09
7467

7568
### 🚀 Features
@@ -82,7 +75,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8275
- Bump version to 0.1.1
8376
- Bump version to 0.1.1
8477
- Bump version to 0.1.1
85-
8678
## [0.2.0] - 2025-10-09
8779

8880
### 🚀 Features
@@ -110,7 +102,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
110102
- Add git integration demo example
111103
- Update CHANGELOG.md
112104
- Add atomic-commit command documentation
113-
114105
## [0.1.1-alpha] - 2025-10-07
115106

116107
### 🐛 Bug Fixes
@@ -127,9 +118,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
127118
- Update changelog for v0.1.0
128119
- Update workflow to use GitHub artifacts for coverage instead of external services
129120
- Prepare for release v0.1.1-alpha
130-
131121
## [0.1.0] - 2025-10-06
132122

133123
### 🐛 Bug Fixes
134124

135-
- Format code with cargo fmt
125+
- Format code with cargo fmt

Makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,14 @@ release: ## Create a new release (requires version argument)
110110
echo "❌ Error: Please specify version with 'make release version=X.Y.Z'"; \
111111
exit 1; \
112112
fi
113+
@echo "Installing git-cliff..."
114+
cargo install git-cliff
115+
@echo "Updating CHANGELOG.md..."
116+
git cliff --latest --tag v$(version) --prepend CHANGELOG.md
117+
git add CHANGELOG.md
118+
git commit -m "chore: update changelog for v$(version)" || echo "No changes to commit"
113119
git tag -a v$(version) -m "Release v$(version)"
120+
git push origin HEAD
114121
git push origin v$(version)
115122
@echo "✅ Release v$(version) created"
116123

0 commit comments

Comments
 (0)