refactor: simplify version extraction - derive filename from manifest version #191
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The update-server and pre-release workflows have complex version logic:
This leads to mismatches where the manifest version and the ZIP filename diverge (e.g. manifest says 01.02.14 but filename should be 01.02.14-dev.zip).
Proposed Fix
Since the manifest version now includes the full suffix (e.g. 01.02.14-dev), simplify to:
This eliminates the separate DISPLAY_VERSION variable and the branch-to-suffix mapping logic.
Affected files
Branch created:
feature/191-refactor-simplify-version-extraction-derFixed in
1ecd923.version_bump.phpnow preserves existing suffix (e.g.01.02.03-dev?01.02.04-dev)update-server.ymlsimplified: removed strip?map?re-apply suffix dancepre-release.ymlsimplified: same patternDISPLAY_VERSIONandSUFFIXoutput variablestestPreservesSuffixOnBumptest, fixed pre-existingtestBumpsFromHtmlCommentassertion