Skip to content

Commit 60bea64

Browse files
committed
feat: implement automated release management
- Add GitHub Actions workflow for semantic versioning - Configure release-please for automatic version bumps - Update README with automated release documentation - Add CHANGELOG.md with version history - Use conventional commits for version determination
1 parent 7bc1423 commit 60bea64

5 files changed

Lines changed: 93 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches: [ main, master ]
6+
7+
permissions:
8+
contents: write
9+
pull-requests: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- name: Release Please
19+
uses: google-github-actions/release-please-action@v4
20+
id: release
21+
with:
22+
token: ${{ secrets.GITHUB_TOKEN }}
23+
release-type: simple
24+
- name: Tag Release
25+
if: ${{ steps.release.outputs.release_created }}
26+
run: |
27+
git tag -f v${{ steps.release.outputs.tag_name }}
28+
git push origin v${{ steps.release.outputs.tag_name }} --force

.release-please-manifest.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "1.0.0"
3+
}

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,18 @@ 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+
## [1.0.0] - 2024-12-19
9+
10+
### Added
11+
- **Automated Release Management**: Implemented semantic versioning with GitHub Actions
12+
- Conventional commits trigger automatic version bumps
13+
- Automated changelog generation and GitHub releases
14+
- Release-please integration for streamlined release process
15+
16+
### Changed
17+
- **Release Badge**: Updated README to use dynamic release badge from GitHub releases
18+
- **Documentation**: Added automated releases section explaining semantic versioning process
19+
820
## [0.3.0] - 2025-09-25
921

1022
### Fixed

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Agentforce Data-Aware Agent
22

33
[![Agentforce: Data‑Aware Ready](https://img.shields.io/badge/Agentforce-Data%E2%80%91Aware%20Ready-00A1E0)](docs/data-library/SETUP.md)
4-
[![Latest Release](https://img.shields.io/badge/release-v0.3.0-blue)](https://github.com/dentity007/Agentforce-Data-Aware-Agent/releases/tag/v0.3.0)
4+
[![Latest Release](https://img.shields.io/github/v/release/dentity007/Agentforce-Data-Aware-Agent)](https://github.com/dentity007/Agentforce-Data-Aware-Agent/releases/latest)
55
[![Test Coverage](https://img.shields.io/badge/tests-100%25%20pass-green)](https://github.com/dentity007/Agentforce-Data-Aware-Agent)
66

77
An intelligent Salesforce agent that combines **schema discovery**, **dynamic action routing**, **input validation**, and **knowledge-grounded responses** for enterprise-grade AI automation.
@@ -262,6 +262,33 @@ sf apex run test --tests MetadataDiscoveryTests,PlannerAndOrchestratorTests,Priv
262262
sf apex run test --result-format human --code-coverage --coverage-threshold 75 --wait 30
263263
```
264264

265+
## 🚀 Automated Releases
266+
267+
This project uses **semantic versioning** with automated release management:
268+
269+
### **How It Works**
270+
- **Conventional Commits**: Version bumps based on commit message prefixes:
271+
- `feat:` → Minor version bump (1.0.0 → 1.1.0)
272+
- `fix:` → Patch version bump (1.0.0 → 1.0.1)
273+
- `BREAKING CHANGE:` → Major version bump (1.0.0 → 2.0.0)
274+
- **Automated Process**: GitHub Actions automatically creates releases on pushes to `main`/`master`
275+
- **Changelog Generation**: Release notes are automatically generated from commit messages
276+
277+
### **Release Process**
278+
1. **Make Changes**: Commit with conventional commit format
279+
2. **Push to Main**: Triggers automated release workflow
280+
3. **Automatic Release**: Version bump, tag creation, and GitHub release
281+
4. **Changelog Update**: Release notes added to CHANGELOG.md
282+
283+
### **Example Commits**
284+
```bash
285+
git commit -m "feat: add intelligent inventory routing"
286+
git commit -m "fix: resolve checkpoint guard validation bug"
287+
git commit -m "feat: implement knowledge-grounded responses
288+
289+
BREAKING CHANGE: updated action interface"
290+
```
291+
265292
## 🤝 Contributing
266293

267294
1. Fork the repository

release-please-config.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"packages": {
4+
".": {
5+
"release-type": "simple",
6+
"bump-minor-pre-major": false,
7+
"bump-patch-for-minor-pre-major": false,
8+
"draft": false,
9+
"prerelease": false,
10+
"changelog-sections": [
11+
{ "type": "feat", "section": "Features" },
12+
{ "type": "fix", "section": "Bug Fixes" },
13+
{ "type": "chore", "section": "Chores" },
14+
{ "type": "docs", "section": "Documentation" },
15+
{ "type": "style", "section": "Styles" },
16+
{ "type": "refactor", "section": "Code Refactoring" },
17+
{ "type": "perf", "section": "Performance Improvements" },
18+
{ "type": "test", "section": "Tests" }
19+
]
20+
}
21+
}
22+
}

0 commit comments

Comments
 (0)