Skip to content

Commit 5280552

Browse files
committed
fix: update changelog for v0.1.3 and fix release workflow YAML formatting
- Add comprehensive v0.1.3 changelog entry with all features and fixes - Update release-please manifest to correct version 0.1.3 - Fix YAML indentation issues in release workflow - Includes GOAP optimization, GitHub workflows, CI improvements, and tooling enhancements
1 parent 3058a64 commit 5280552

File tree

5 files changed

+83
-21
lines changed

5 files changed

+83
-21
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.1"
2+
".": "0.1.3"
33
}

.github/release-please-config.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
"bump-minor-pre-major": false,
44
"bump-patch-for-minor-pre-major": false,
55
"draft": false,
6-
"prerelease": false
6+
"prerelease": false,
7+
"changelog-path": "CHANGELOG.md",
8+
"changelog-type": "default"
79
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: release-please
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: google-github-actions/release-please-action@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
19+
config-file: .github/release-please-config.json
20+
manifest-file: .github/.release-please-manifest.json

.github/workflows/release.yml

Lines changed: 32 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,38 @@ jobs:
1515
permissions:
1616
contents: write
1717
steps:
18-
- name: Checkout code
19-
uses: actions/checkout@v4
20-
with:
21-
fetch-depth: 0
22-
23-
- name: Create Release
24-
run: |
25-
if [[ "${{ github.ref_name }}" == *"-"* ]]; then
26-
gh release create ${{ github.ref_name }} \
27-
--title "Release ${{ github.ref_name }}" \
28-
--generate-notes \
29-
--prerelease
30-
else
31-
gh release create ${{ github.ref_name }} \
32-
--title "Release ${{ github.ref_name }}" \
33-
--generate-notes
34-
fi
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
- name: Checkout code
19+
uses: actions/checkout@v4
20+
with:
21+
fetch-depth: 0
22+
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
35+
36+
- name: Create Release
37+
run: |
38+
if [[ "${{ github.ref_name }}" == *"-"* ]]; then
39+
gh release create ${{ github.ref_name }} \
40+
--title "Release ${{ github.ref_name }}" \
41+
--notes "$CHANGELOG_CONTENT" \
42+
--prerelease
43+
else
44+
gh release create ${{ github.ref_name }} \
45+
--title "Release ${{ github.ref_name }}" \
46+
--notes "$CHANGELOG_CONTENT"
47+
fi
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3750

3851
build-release:
3952
name: Build Release

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.1.3] - 2025-10-13
9+
10+
### Added
11+
- Complete GitHub workflows and branch protection configuration
12+
- Monitoring workflow to track recent workflow failures
13+
- Comprehensive development tooling with Makefile targets
14+
- Code quality automation with cross-platform CI compatibility
15+
- Incremental quality check script for faster development workflow
16+
- Branch protection setup script with quality gates enforcement
17+
- Issue and PR templates for better project management
18+
- Dev container configuration for consistent development environment
19+
- Cargo configuration for faster builds with optimized settings
20+
- GOAP coordination system for quality check optimization
21+
22+
### Fixed
23+
- YAML indentation issues in GitHub Actions workflows
24+
- Cross-platform compatibility in CI workflows
25+
- Invalid --fail-under option in cargo llvm-cov configuration
26+
- CI workflow formatting and code quality issues
27+
- Applied cargo fmt formatting to resolve CI issues
28+
29+
### Changed
30+
- Optimized development workflow with comprehensive tooling
31+
- Enhanced CI-agent documentation with orchestration workflow
32+
- Updated GitHub Actions workflows for better reliability
33+
- Improved code quality automation and validation processes
34+
835
## [0.1.2] - 2025-10-09
936

1037
### Fixed

0 commit comments

Comments
 (0)