Skip to content

Commit

Permalink
[TASK] Use eliashaeussler/version-bumper for release preparations
Browse files Browse the repository at this point in the history
  • Loading branch information
eliashaeussler committed Jan 6, 2025
1 parent 6d6289b commit 00aa400
Show file tree
Hide file tree
Showing 5 changed files with 338 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@
/phpunit.unit.xml export-ignore
/rector.php export-ignore
/renovate.json export-ignore
/version-bumper.yaml export-ignore
2 changes: 2 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
},
"require-dev": {
"armin/editorconfig-cli": "^1.8 || ^2.0",
"eliashaeussler/version-bumper": "^1.3",
"ergebnis/composer-normalize": "^2.42",
"friendsofphp/php-cs-fixer": "^3.57",
"phpstan/extension-installer": "^1.3",
Expand All @@ -50,6 +51,7 @@
},
"config": {
"allow-plugins": {
"eliashaeussler/version-bumper": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
Expand Down
327 changes: 326 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packaging_exclude.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@
'phpunit.unit.xml',
'rector.php',
'renovate.json',
'version-bumper.yaml',
],
];
8 changes: 8 additions & 0 deletions version-bumper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
filesToModify:
- path: ext_emconf.php
patterns:
- "'version' => '{%version%}'"
reportUnmatched: true

releaseOptions:
commitMessage: '[RELEASE] Release of EXT:mailqueue {%version%}'

0 comments on commit 00aa400

Please sign in to comment.