cat > README.md << 'EOF'
Zendriix Softwares requires monthly product releases on the 25th of every month.
Main Branches:
master- Production-ready code (releases on 25th of each month)develop- Integration branch for features
Supporting Branches:
feature/*- New features (branched from develop)release/YYYY-MM- Release preparation (created ~1 week before 25th)hotfix/*- Emergency production fixes (branched from master)
-
Day 1-18: Development phase
- Developers create feature branches from
develop - Features are merged back to
developafter completion
- Developers create feature branches from
-
Day 18-20: Create release branch
- Branch
release/YYYY-MMfromdevelop - Perform final testing, bug fixes, version updates
- Branch
-
Day 25: Production release
- Merge
release/YYYY-MMtomaster - Tag release as
vYYYY.MM - Merge back to
develop - Deploy to production
- Merge
-
Emergency fixes: Use hotfix branches when needed
git checkout develop
git checkout -b feature/feature-name
# ... work on feature ...
git checkout develop
git merge feature/feature-namegit checkout develop
git checkout -b release/2025-01
# ... final testing and fixes ...git checkout master
git merge release/2025-01
git tag -a v2025.01 -m "Release January 2025"
git checkout develop
git merge release/2025-01git checkout master git checkout -b hotfix/critical-bug # ... fix bug ... git checkout master git merge hotfix/critical-bug git tag -a v2025.01.1 -m "Hotfix" git checkout develop git merge hotfix/critical-bug
EOF