Skip to main content

Enterprise Release Management & Versioning

Critical for Enterprises

Release management is the difference between chaos and control. This guide shows how SpecWeave tracks releases across environments, manages versioning, coordinates cross-team dependencies, and ensures compliance.


🎯 Why Release Management Matters​

The Enterprise Reality​

Small Startups (1-5 devs):

  • Deploy to prod 10x/day
  • No formal releases
  • "Main branch is always deployable"

Enterprises (50-500+ devs):

  • Deploy to prod 1x/week or 1x/month
  • Formal release process (CAB, change windows, approvals)
  • Coordinated across 5-15 teams
  • Regulatory compliance (SOX, HIPAA, PCI-DSS)
  • Customer SLAs (99.9% uptime, scheduled maintenance)

SpecWeave's Role: Track increments β†’ releases β†’ deployments with full audit trail.


πŸ—οΈ Release Models​

Model 1: Sprint-Based Releases (Most Common)​

Cadence: Every 2 weeks (sprint)

Sprint 24 (Nov 13 - Nov 27, 2025)
β”œβ”€β”€ Increments: 0018, 0019, 0020, 0021
β”œβ”€β”€ Release: v1.24.0
β”œβ”€β”€ Deploy to: Dev (Nov 13) β†’ QA (Nov 15) β†’ Staging (Nov 18) β†’ UAT (Nov 20) β†’ Prod (Nov 27)
└── Stakeholders: Product team demos on Nov 26 (sprint review)

SpecWeave Integration:

# 1. Plan sprint
/sw:sprint create 24 --start "2025-11-13" --end "2025-11-27"

# 2. Link increments to sprint
/sw:sprint link 24 --increments 0018,0019,0020,0021

# 3. Track progress during sprint
/sw:sprint status 24

# Output:
πŸ“Š Sprint 24 Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Dates: Nov 13 - Nov 27, 2025 (14 days)
Days Remaining: 8 days

Increments:
βœ… 0018: OAuth Integration (100%, deployed to Staging)
πŸ”„ 0019: User Profile Page (75%, in QA)
πŸ”„ 0020: Email Notifications (50%, in Dev)
⏸️ 0021: Admin Dashboard (10%, planning)

Overall Progress: 59% (47/80 tasks completed)
Velocity: On track (38 story points, target: 40)

Blockers:
⚠️ 0019: Waiting for design approval (jane.smith@company.com)
⚠️ 0020: SMTP server not configured in QA

Next Actions:
1. Unblock 0019 (chase jane.smith)
2. Configure SMTP in QA (DevOps team)
3. Complete 0020 by Nov 20 (3 days)
4. Reduce scope on 0021 OR roll to Sprint 25

# 4. Create release at sprint end
/sw:release create v1.24.0 --sprint 24

# 5. Deploy release to prod
/sw:release deploy v1.24.0 --environment prod

Model 2: Time-Based Releases (Monthly/Quarterly)​

Cadence: Every month (or quarter)

November 2025 Release
β”œβ”€β”€ Sprints: Sprint 24, Sprint 25
β”œβ”€β”€ Increments: 0018, 0019, 0020, 0021, 0022, 0023, 0024, 0025
β”œβ”€β”€ Release: v1.11.0 (November release)
β”œβ”€β”€ Deploy to: Prod (Nov 30, 2025)
└── Includes: 8 features, 15 bug fixes, 3 performance improvements

SpecWeave Integration:

# 1. Plan monthly release
/sw:release plan v1.11.0 --month November --year 2025

# 2. Track increments throughout month
/sw:release status v1.11.0

# Output:
πŸ“¦ Release v1.11.0 Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Target Date: Nov 30, 2025 (17 days away)

Features (8):
βœ… 0018: OAuth Integration
βœ… 0019: User Profile Page
βœ… 0020: Email Notifications
πŸ”„ 0021: Admin Dashboard (80%)
πŸ”„ 0022: Dark Mode (60%)
πŸ”„ 0023: Export Reports (40%)
⏸️ 0024: Advanced Search (20%)
⏸️ 0025: API Rate Limiting (10%)

Bug Fixes (15):
βœ… 12 completed
πŸ”„ 2 in progress
⏸️ 1 not started

Performance (3):
βœ… Database indexing
βœ… API response caching
πŸ”„ Frontend bundle size reduction (85%)

Release Readiness: 72% (58/80 increments completed)
Risk: MEDIUM (2 features may not complete)

Recommendations:
⚠️ Cut 0024, 0025 from release (roll to December)
βœ“ Focus on completing 0021, 0022, 0023
βœ“ Allocate extra QA time for 0022 (high complexity)

# 3. Finalize release scope (cut features if needed)
/sw:release scope v1.11.0 --cut 0024,0025

# 4. Deploy to prod
/sw:release deploy v1.11.0 --environment prod --date "2025-11-30 18:00:00 UTC"

Model 3: Feature-Based Releases (Continuous)​

Cadence: Whenever feature is ready (1-5x/week)

Week of Nov 13-19, 2025
β”œβ”€β”€ Monday: Release v1.23.1 (Increment 0018: OAuth)
β”œβ”€β”€ Wednesday: Release v1.23.2 (Increment 0019: User Profile)
└── Friday: Release v1.23.3 (Increment 0020: Email Notifications)

SpecWeave Integration:

# 1. Complete increment
/sw:done 0018

# 2. Create release immediately
/sw:release create v1.23.1 --increments 0018 --deploy-now

# Result:
βœ… Release v1.23.1 created
Increments: 0018
Deployed to: Dev β†’ QA β†’ Staging β†’ Prod (all green!)
Duration: 2 hours (fast-track)
Status: βœ… LIVE

πŸ“‹ Semantic Versioning for Enterprises​

Version Format: MAJOR.MINOR.PATCH​

v1.24.3
β”‚ β”‚ β”‚
β”‚ β”‚ └─ PATCH: Bug fixes, hotfixes (backward compatible)
β”‚ └──── MINOR: New features (backward compatible)
└─────── MAJOR: Breaking changes (NOT backward compatible)

Examples​

v1.23.0 β†’ v1.24.0  (New sprint, new features)
v1.24.0 β†’ v1.24.1 (Hotfix: Fix login bug)
v1.24.1 β†’ v1.24.2 (Hotfix: Fix performance regression)
v1.24.2 β†’ v1.25.0 (New sprint, new features)
v1.25.0 β†’ v2.0.0 (MAJOR: API v2, breaking changes)

SpecWeave Auto-Versioning​

# Increment PATCH version (bug fix)
/sw:release bump patch

# Increment MINOR version (new feature)
/sw:release bump minor

# Increment MAJOR version (breaking change)
/sw:release bump major

# Auto-detect based on increments
/sw:release bump auto

# Auto-detect logic:
# - If any increment has "breaking: true" β†’ MAJOR
# - If any increment has type "feature" β†’ MINOR
# - If all increments are type "hotfix" or "bug" β†’ PATCH

πŸ”„ Release Lifecycle​

Phase 1: Planning (Week 1 of Sprint)​

# 1. Create release
/sw:release create v1.24.0 --sprint 24

# 2. Add increments to release
/sw:release add-increment v1.24.0 0018
/sw:release add-increment v1.24.0 0019
/sw:release add-increment v1.24.0 0020

# 3. Review dependencies
/sw:release dependencies v1.24.0

# Output:
πŸ”— Release v1.24.0 Dependencies
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Increments:
0018: OAuth Integration
β”œβ”€ Depends on: Database migration (0017)
β”œβ”€ Blocks: User profile page (0019)
└─ External: OAuth provider approval (in progress)

0019: User Profile Page
β”œβ”€ Depends on: OAuth Integration (0018)
β”œβ”€ Blocks: Email notifications (0020)
└─ External: Design system v2.0 (not ready!)

0020: Email Notifications
β”œβ”€ Depends on: User profile page (0019)
β”œβ”€ External: SMTP server (not configured in QA!)

⚠️ BLOCKERS:
1. Design system v2.0 not ready (ETA: Nov 18)
Impact: 0019 cannot start
Action: Escalate to design team

2. SMTP server not configured in QA
Impact: 0020 cannot be tested
Action: Ticket to DevOps team

Recommendations:
⚠️ Risk: 2 blockers may delay release
βœ“ Option 1: Resolve blockers by Nov 15
βœ“ Option 2: Cut 0019, 0020 from release

Phase 2: Development (Week 1-2 of Sprint)​

# Track progress daily
/sw:release status v1.24.0 --daily

# Output (Day 3):
πŸ“Š Release v1.24.0 Status (Day 3/14)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Progress: 35% (28/80 tasks completed)
Burn Rate: 9.3 tasks/day (target: 5.7 tasks/day) βœ… AHEAD!

Increments:
βœ… 0018: OAuth Integration (100%, ready for QA)
πŸ”„ 0019: User Profile Page (45%, in dev)
πŸ”„ 0020: Email Notifications (10%, blocked)

Blockers Resolved:
βœ… Design system v2.0 ready (Nov 14)
πŸ”„ SMTP server in QA (ETA: Nov 15)

Risks:
⚠️ 0020 still blocked (1 day delay)
βœ“ Burn rate ahead of schedule (buffer available)

Forecast: βœ… ON TRACK for Nov 27 release

Phase 3: QA & Staging (Week 2 of Sprint)​

# Promote release to QA
/sw:release promote v1.24.0 --to qa

# Run QA tests
/sw:release test v1.24.0 --environment qa

# Output:
πŸ§ͺ Release v1.24.0 QA Test Results
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Test Suites:
βœ… Unit Tests: 1,234/1,234 passed (100%)
βœ… Integration Tests: 456/456 passed (100%)
βœ… E2E Tests: 89/92 passed (96.7%)
❌ Test: User can reset password
Error: Email not sent (SMTP issue)
❌ Test: User can export profile
Error: Export button missing
❌ Test: Admin can view analytics
Error: Chart library not loaded

βœ… Performance Tests:
Load: 1,000 req/s sustained (pass)
Latency: p95=120ms (pass, target: <150ms)
Memory: 1.2GB peak (pass, target: <2GB)

βœ… Security Tests:
OWASP Top 10: All passed
Penetration Test: No critical vulnerabilities
Dependency Scan: 2 medium-severity issues (acceptable)

Overall: ⚠️ 3 E2E tests failed

Next Actions:
1. Fix SMTP issue (DevOps team)
2. Fix export button bug (Frontend team)
3. Fix chart library loading (Frontend team)
4. Re-run E2E tests (ETA: Nov 20)

Phase 4: UAT & Approval (Week 2 of Sprint)​

# Promote to UAT
/sw:release promote v1.24.0 --to uat

# Request stakeholder approval
/sw:release request-approval v1.24.0 \
--approvers jane.smith@company.com,john.doe@company.com

# Track approval status
/sw:release approval-status v1.24.0

# Output:
βœ… Release v1.24.0 Approval Status
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Approvers:
βœ… jane.smith@company.com (Product Manager)
Approved: Nov 23, 2025 10:30 AM
Notes: "Looks good, tested with 5 users"

πŸ”„ john.doe@company.com (Tech Lead)
Status: Pending
Requested: Nov 23, 2025 9:00 AM
Last Reminder: Nov 23, 2025 2:00 PM

Approval Progress: 50% (1/2 approved)

Next Actions:
⏰ Remind john.doe@company.com (3rd reminder)
⏰ Escalate if not approved by Nov 24 5:00 PM

Phase 5: Production Deployment​

# Create change request (if required)
/sw:release change-request v1.24.0 \
--title "Deploy Release v1.24.0" \
--description "OAuth integration, user profiles, email notifications" \
--change-window "2025-11-27 18:00-20:00 UTC" \
--risk "Low" \
--rollback-plan "Revert to v1.23.0 (blue-green swap)"

# Deploy to production
/sw:release deploy v1.24.0 \
--environment prod \
--change-request CHG-2024-11-001 \
--health-check \
--monitor-duration 30m

# Output:
πŸš€ Deploying Release v1.24.0 to Production
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Change Request: CHG-2024-11-001
Change Window: Nov 27, 2025 18:00-20:00 UTC
Deployment Method: Blue-Green (zero downtime)

Pre-Deployment Checks:
βœ… All tests passed
βœ… All approvals received
βœ… Change window active
βœ… Rollback plan documented
βœ… On-call engineers notified

Deployment Steps:
βœ… 1. Deploy to green slot (18:05 UTC)
βœ… 2. Health check green slot (18:10 UTC)
βœ… 3. Run smoke tests (18:15 UTC)
βœ… 4. Swap slots (blue ← green) (18:20 UTC)
πŸ”„ 5. Monitor metrics (18:20-18:50 UTC)

Metrics (15 minutes post-deployment):
Traffic: 5,234 req/s (normal)
Errors: 0.01% (0.5 errors/min) βœ… NORMAL
Latency: p50=45ms, p95=120ms βœ… NORMAL
CPU: 35.2% βœ… NORMAL
Memory: 62.8% βœ… NORMAL

Status: βœ… DEPLOYMENT SUCCESSFUL

Release Notes:
https://myapp.com/releases/v1.24.0

Communication:
βœ… Email sent to all users
βœ… Status page updated
βœ… Slack announcement posted

πŸ“Š Release Metrics & Reporting​

Command: Release Dashboard​

/sw:release dashboard --period last-quarter

# Output:
πŸ“Š Release Dashboard (Q4 2025)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Releases Deployed: 12 releases
βœ… Successful: 11 (92%)
❌ Failed: 1 (8%) - v1.22.0 (rolled back)

Average Lead Time: 12.3 days
Planning: 3.5 days
Development: 6.2 days
QA/Staging: 1.8 days
UAT Approval: 0.8 days

Deployment Frequency: 0.9 deploys/week
Target: 1 deploy/week
Status: ⚠️ SLIGHTLY BELOW TARGET

Change Failure Rate: 8.3% (1/12)
Target: <15%
Status: βœ… WITHIN TARGET

Time to Restore Service: 1.2 hours (avg)
Target: <4 hours
Status: βœ… EXCELLENT

DORA Classification: HIGH PERFORMER

Release Size:
Avg Increments per Release: 3.8
Avg Story Points per Release: 42
Avg Tasks per Release: 67

Top Contributors:
1. john.doe@company.com: 45 increments
2. jane.smith@company.com: 38 increments
3. bob.wilson@company.com: 32 increments

Top Blockers:
1. Design approvals: 8 delays (avg 2.3 days each)
2. QA environment issues: 5 delays (avg 1.5 days each)
3. Dependency on external teams: 3 delays (avg 4.2 days each)

Recommendations:
1. Streamline design approval process
2. Invest in QA environment stability
3. Schedule cross-team planning sessions

πŸ”’ Compliance & Audit Trails​

SOX Compliance Example​

# Generate SOX audit report
/sw:release audit v1.24.0 --compliance sox

# Output:
πŸ“‹ SOX Compliance Audit Report: Release v1.24.0
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Release ID: v1.24.0
Deploy Date: Nov 27, 2025 18:20:00 UTC
Environment: Production

1. SEGREGATION OF DUTIES:
βœ… Developer: john.doe@company.com
βœ… Reviewer: jane.smith@company.com
βœ… Deployer: ops-team@company.com
βœ… No overlap detected

2. CHANGE MANAGEMENT:
βœ… Change Request: CHG-2024-11-001
βœ… Approved By: CAB (Change Advisory Board)
βœ… Approved At: Nov 26, 2025 15:00 UTC
βœ… Change Window: Nov 27, 2025 18:00-20:00 UTC

3. TESTING EVIDENCE:
βœ… Unit Tests: 1,234/1,234 passed
βœ… Integration Tests: 456/456 passed
βœ… E2E Tests: 92/92 passed
βœ… UAT Approval: jane.smith@company.com (Nov 23, 2025)

4. ROLLBACK CAPABILITY:
βœ… Rollback Plan: Documented
βœ… Rollback Tested: Nov 26, 2025 (successful)
βœ… Rollback Time: <5 minutes (blue-green swap)

5. ACCESS CONTROLS:
βœ… Production Access: Restricted to ops-team
βœ… Deployment: Automated (no manual SSH)
βœ… Approval Chain: Product Manager β†’ Tech Lead β†’ CAB

6. AUDIT TRAIL:
βœ… Git Commits: 47 commits (all reviewed)
βœ… Code Reviews: 12 pull requests (all approved)
βœ… Issue Tracking: GitHub Issues #123, #456, #789
βœ… Deployment Logs: CloudWatch (retained 7 years)

COMPLIANCE STATUS: βœ… PASSED

Report Exported: /reports/sox-audit-v1.24.0.pdf
Report Hash: sha256:a1b2c3d4e5f6...


πŸ†˜ Getting Help​