You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: add version synchronization check to TER publishing reference
Document the ext_emconf.php version mismatch problem with tailor and
provide copy-paste ready CI workflow step and CaptainHook pre-push
hook patterns. Update conformance checklist with version validation.
Copy file name to clipboardExpand all lines: skills/typo3-conformance/references/ter-publishing.md
+66-1Lines changed: 66 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,6 +81,69 @@ Bug fixes & improvements! See CHANGELOG.md for details...
81
81
82
82
---
83
83
84
+
## Version Synchronization Check
85
+
86
+
**CRITICAL:** The `typo3/tailor` tool rejects uploads where the tag version does not match `ext_emconf.php` `'version'`. This is a common release failure.
87
+
88
+
### The Problem
89
+
90
+
When creating a release tag (e.g. `0.4.1`), `ext_emconf.php` must already contain `'version' => '0.4.1'`. If the version was not bumped before tagging, `tailor ter:publish` fails with "configured version does not match".
91
+
92
+
GitHub.com does not support custom pre-receive hooks, so server-side tag validation is not possible. Use **defense-in-depth**: local git hook + CI validation step.
93
+
94
+
### CI Workflow Step
95
+
96
+
Add this step to your TER publish workflow **after checkout and before publishing**:
if [[ "${TAG_VERSION}" != "${EMCONF_VERSION}" ]]; then
105
+
echo "::error file=ext_emconf.php::Tag version (${TAG_VERSION}) does not match ext_emconf.php version (${EMCONF_VERSION}). Update ext_emconf.php before tagging."
0 commit comments