Skip to content
Open
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
59afc09
feat: add latest app version to release index data
plakyda-codefresh Nov 7, 2025
f6d68b0
chore: normalize workflow name
plakyda-codefresh Nov 7, 2025
04bb486
feat: add latest URL to release index data
plakyda-codefresh Nov 7, 2025
df55125
refactor: update release index to include latest release object
plakyda-codefresh Nov 7, 2025
afa2be5
chore: remove releases.json file
plakyda-codefresh Nov 11, 2025
e0aa063
Merge branch 'main' of github.com:codefresh-io/gitops-runtime-helm in…
plakyda-codefresh Nov 11, 2025
b567f34
Merge branch 'main' of github.com:codefresh-io/gitops-runtime-helm in…
plakyda-codefresh Nov 19, 2025
1fe4f3d
fix: update version detection logic in build-releases.js
plakyda-codefresh Nov 19, 2025
611c052
refactor: restructure build-releases.js for improved maintainability
plakyda-codefresh Nov 21, 2025
4efe8c0
test: add unit tests for VersionManager, ReleaseProcessor, and Releas…
plakyda-codefresh Nov 21, 2025
445fd8b
test: enhance ReleaseProcessor tests with console log suppression
plakyda-codefresh Nov 21, 2025
14c2e0d
readme.md
plakyda-codefresh Nov 21, 2025
973ed04
chore: clean up comments and formatting in build-releases.js and READ…
plakyda-codefresh Nov 21, 2025
2b43903
docs: add mermaid diagram to README for channel classification flow
plakyda-codefresh Nov 21, 2025
752f080
Merge branch 'main' into runtime-app-version
plakyda-codefresh Nov 21, 2025
fd90002
Merge branch 'main' into runtime-app-version
plakyda-codefresh Nov 24, 2025
59d351d
Merge branch 'main' into runtime-app-version
plakyda-codefresh Nov 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/scripts/release-index/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
## Channel Classification Flow

flowchart TD
Start([Version Input]) --> Check{Matches<br/>YY.MM-patch?}

Check -->|"Yes (25.04-1)"| Month{Month<br/>1-12?}
Check -->|"No (1.2.3)"| Stable[Stable Channel]

Month -->|Yes| Latest["Latest Channel<br/>(normalize: 25.4.1)"]
Month -->|"No (25.13-1)"| Stable

Latest --> ValidL{Valid<br/>semver?}
Stable --> ValidS{"Valid semver<br/>>= 1.0.0?"}

ValidL -->|Yes| AcceptL["✅ Accept as Latest"]
ValidL -->|No| Reject["❌ Skip"]

ValidS -->|Yes| AcceptS["✅ Accept as Stable"]
ValidS -->|No| Reject

style AcceptL fill:#90EE90,stroke:#2d5016
style AcceptS fill:#87CEEB,stroke:#003d5c
style Reject fill:#ffcccb,stroke:#8b0000
style Latest fill:#e1f5ff,stroke:#0066cc
style Stable fill:#f0fff0,stroke:#006400

### Examples

| Input Version | Matches Pattern? | Month Valid? | Channel | Normalized | Valid? | Result |
|--------------|------------------|--------------|---------|------------|--------|--------|
| `25.04-1` | ✅ Yes | ✅ Yes (4) | Latest | `25.4.1` | ✅ Yes | ✅ **Accept Latest** |
| `25.13-1` | ✅ Yes | ❌ No (13) | Stable | `25.13-1` | ❌ No | ❌ **Skip** |
| `1.2.3` | ❌ No | - | Stable | `1.2.3` | ✅ Yes | ✅ **Accept Stable** |
| `0.9.0` | ❌ No | - | Stable | `0.9.0` | ❌ No (< 1.0.0) | ❌ **Skip** |
| `24.12-10` | ✅ Yes | ✅ Yes (12) | Latest | `24.12.10` | ✅ Yes | ✅ **Accept Latest** |
Loading