Use dotted numeric versions for date-released apps (#8)

The platform only accepts versions made of numbers and dots followed by
-c<revision>, and compares them to decide automatic updates. DokuWiki,
RSS-Bridge, RSSHub and Tiny Tiny RSS used their date tags with hyphens
(and DokuWiki a hotfix letter), so the platform rejected them.

A new CI job checks every recipe's version, and the README explains how
to write date releases.
This commit is contained in:
michael authored and GitHub committed 2026-11-22 10:30:20 -05:00
1 parent ac8685325d
commit 4e85ff3e45
6 files changed
+25 -5

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ Cottage how to run it:
| Key | Meaning |
| --- | --- |
| `slug`, `name`, `description` | `slug` matches the directory name and the upstream project, lowercase with hyphens |
| `version` | `<upstream version>-c<recipe revision>`, e.g. `1.34.3-c1` |
| `version` | `<upstream version>-c<recipe revision>`, e.g. `1.34.3-c1`. The upstream part is numbers separated by dots, so automatic updates can compare versions: write a date release `2026-11-21` as `2026.11.21`, and a hotfix letter as a fourth number (`2026-07-14c` → `2026.07.14.3`). |
| `primary` | the service and port that serve the app over HTTPS, e.g. `{ service: app, port: 8080 }` |
| `health_path` | a path that answers 200 once the app is ready |
| `default_resources`, `min_resources` | `cpu_millis`, `memory_mb`, `storage_mb` |