Skip to content

Commit c20a052

Browse files
committed
[TASK] Set version branch alias for dev-main
Composer and packagist automatically defines alias for version looking branches, for example `7.x-dev` for a branch called `7`. Even with tagged versions and version branches in place, there is no automatic "next highest" major alias for the default branch, for example `main`. To allow extension and projects to specifcy a concrete development without using the branch, for example with `composer req --dev typo3/testing-framework:'9.*.*@dev'` branch alias for dev-main is set to the current major development version for the main branch. Note that that allows us to branch out main into a `9` branch in the future and updating the branch alias of main and extension will stay on the suitiable branch for their TYPO3 versions without forced to new major. Used command(s): ```shell composer config extra."branch-alias"."dev-main" "9.x-dev" ```
1 parent c0c7bf9 commit c20a052

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,10 @@
6666
},
6767
"replace": {
6868
"sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": "*"
69+
},
70+
"extra": {
71+
"branch-alias": {
72+
"dev-main": "9.x-dev"
73+
}
6974
}
7075
}

0 commit comments

Comments
 (0)