Skip to content

Commit

Permalink
[FEATURE] Introduce eliashauessler/version-bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
mteu committed Oct 17, 2024
1 parent 24be30b commit 7c49286
Show file tree
Hide file tree
Showing 4 changed files with 257 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
* text=auto
/.github export-ignore
/Tests export-ignore
/.editorconfig export-ignore
/.gitattributes export-ignore
/.github export-ignore
/.gitignore export-ignore
/.php-cs-fixer.php export-ignore
/Tests export-ignore
/composer.lock export-ignore
/phpstan.neon export-ignore
/phpstan-baseline.php export-ignore
/phpstan.neon export-ignore
/phpunit.functional.xml export-ignore
/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 @@ -15,6 +15,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.60",
"mteu/docblock-rules": "^0.3",
Expand Down Expand Up @@ -43,6 +44,7 @@
},
"config": {
"allow-plugins": {
"eliashaeussler/version-bumper": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true,
"typo3/class-alias-loader": true,
Expand Down
245 changes: 242 additions & 3 deletions composer.lock

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

9 changes: 9 additions & 0 deletions version-bumper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
filesToModify:
- path: ext_emconf.php
patterns:
- "'version' => '{%version%}'"
reportUnmatched: true

releaseOptions:
commitMessage: '[RELEASE] v{%version%}'
signTag: true

0 comments on commit 7c49286

Please sign in to comment.