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 Nov 14, 2024
1 parent a16c7c3 commit cdb0ee8
Show file tree
Hide file tree
Showing 5 changed files with 252 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 @@ -21,6 +21,7 @@
},
"require-dev": {
"armin/editorconfig-cli": "^1.8 || ^2.0",
"eliashaeussler/version-bumper": "^1.2",
"ergebnis/composer-normalize": "^2.43",
"friendsofphp/php-cs-fixer": "^3.57",
"phpstan/extension-installer": "^1.4",
Expand All @@ -45,6 +46,7 @@
},
"config": {
"allow-plugins": {
"eliashaeussler/version-bumper": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
Expand Down
241 changes: 240 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:cache_bags {%version%}'

0 comments on commit cdb0ee8

Please sign in to comment.