name: Release Management | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
name: Create Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install -r requirements.txt | |
- name: Run full test suite | |
run: | | |
pytest tests/ -v --cov=agentic_ai_system | |
- name: Generate changelog | |
id: changelog | |
run: | | |
echo "## What's Changed" > CHANGELOG.md | |
git log --oneline $(git describe --tags --abbrev=0 HEAD^)..HEAD >> CHANGELOG.md | |
- name: Create Release | |
uses: actions/create-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ github.ref }} | |
release_name: Release ${{ github.ref }} | |
body: | | |
## Algorithmic Trading System Release ${{ github.ref }} | |
### π New Features | |
- Enhanced FinRL integration | |
- Improved Alpaca broker support | |
- Better risk management | |
### π§ Improvements | |
- Updated documentation | |
- Performance optimizations | |
- Bug fixes | |
### π¦ Docker Image | |
```bash | |
docker pull dataen10/algorithmic_trading:${{ github.ref_name }} | |
``` | |
### π Changelog | |
${{ steps.changelog.outputs.body }} | |
draft: false | |
prerelease: false |