Dev and Release Branch Version (SL016)

Ensures release branches produce final versions while dev branches publish only RC or milestone builds

Description

Validates that release branches only produce final versions (not milestones or release candidates), and that development branches only produce pre-release versions (milestones or release candidates).

Rationale

Prevents release branches from shipping pre-release artifacts and verifies dev branches only publish milestone or release candidate builds.

Findings

  • INFO

    • Branch is versioned incorrectly

  • ERROR

    • Error checking components (I/O or git ls-remote failure)

    • Dev branch should be pushing out a release candidate or milestone version

    • Release branch should not be pushing out a release candidate or milestone version

Noncompliant

Dev branch is versioned incorrectly
#Dev branch is versioned incorrectly (without -RC or -M)
branch: dev-feature-example
version: 1.3.0

Compliant

Dev branch is versioned correctly
#Dev branch is versioned correctly
branch: dev-feature-example
version: 1.5.0-M1

Configuration

This rule has no configuration.