3.0 KiB
3.0 KiB
Release Process
This guide outlines the process for releasing new versions of Crypto Trader.
Version Numbering
Follow Semantic Versioning:
- MAJOR: Breaking changes
- MINOR: New features (backward compatible)
- PATCH: Bug fixes (backward compatible)
Example: 1.2.3
Release Checklist
Pre-Release
- All tests passing
- Code coverage meets threshold (95%)
- Documentation is up to date
- Changelog is updated
- Version number updated
- All issues for milestone are closed
Release Steps
-
Update Version
Update version in:
setup.pydocs/api/source/conf.pysrc/__init__.py(if exists)
-
Update Changelog
Document all changes in
CHANGELOG.md:- Added features
- Changed features
- Deprecated features
- Removed features
- Fixed bugs
- Security updates
-
Create Release Branch
git checkout -b release/v1.2.3 git push origin release/v1.2.3 -
Build and Test
# Run all tests pytest # Build AppImage ./packaging/build_appimage.sh # Test AppImage ./crypto_trader-*.AppImage --test -
Create Release Tag
git tag -a v1.2.3 -m "Release v1.2.3" git push origin v1.2.3 -
Create GitHub Release
- Create release on GitHub
- Upload AppImage
- Add release notes from changelog
- Mark as latest release
-
Merge to Main
git checkout main git merge release/v1.2.3 git push origin main
AppImage Release
Building AppImage
cd packaging
./build_appimage.sh
AppImage Requirements
- Must be executable
- Must include all dependencies
- Must be tested on target system
- Must include version in filename
AppImage Distribution
- Upload to GitHub Releases
- Include checksums (SHA256)
- Provide installation instructions
- Test on clean system
Post-Release
-
Announce Release
- Update website (if applicable)
- Post release notes
- Notify users
-
Monitor
- Watch for issues
- Monitor error reports
- Track download statistics
-
Hotfixes
If critical bugs are found:
- Create hotfix branch
- Fix and test
- Release patch version
- Merge to main
Release Notes Template
# Release v1.2.3
## Added
- New feature X
- New feature Y
## Changed
- Improved performance of Z
- Updated dependency versions
## Fixed
- Fixed bug in A
- Fixed issue with B
## Security
- Security update for C
## Installation
Download the AppImage:
- [crypto_trader-1.2.3-x86_64.AppImage](link)
SHA256: [checksum]
## Upgrade Notes
[Any upgrade instructions]
Emergency Releases
For critical security or stability issues:
- Create hotfix branch from latest release
- Apply fix
- Test thoroughly
- Release immediately
- Merge to main and develop
Version History
Maintain version history in:
CHANGELOG.md- GitHub Releases
- Documentation