-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Context
The unstable release workflow (.github/workflows/unstable-release.yaml) previously computed the version automatically by reading the latest version from main, incrementing the patch number, and appending an -unstable.N suffix. This caused problems:
- The version in
info.xmlondevelopmentwas overwritten by the workflow - Developers had no control over the release version
- Bumping to a specific version (e.g.
0.1.138) was impossible because the workflow would overwrite it
Current Quick Fix
As a temporary fix (commit d2b8542), the workflow now simply reads the version from info.xml as-is. This gives developers control but means:
- No automatic version incrementing
- No unstable suffix appended
- Developers must manually bump the version in
info.xmlbefore pushing todevelopment
Desired Behavior
Design a proper versioning strategy that:
- Respects the version set in
info.xmlas the base version - Optionally appends an unstable/pre-release suffix for development builds
- Does NOT overwrite
info.xmlin the repository (no automated commits back) - Works cleanly with the Nextcloud app store (nightly flag)
- Considers how
main(stable) anddevelopment(unstable) releases should be numbered
Options to Consider
- Option A: Keep current behavior (manual version in info.xml, no suffix)
- Option B: Read version from info.xml, append
-dev.{run_number}for the release tag only (don't modify info.xml) - Option C: Use conventional commits / semantic versioning to auto-determine version bumps
- Option D: Hybrid - read base from info.xml, auto-append build metadata
Priority
Low - current quick fix works for day-to-day development. This is a quality-of-life improvement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request