From 22e81528324d37d18d1009a11859862e04ca91d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elias=20H=C3=A4u=C3=9Fler?= Date: Mon, 13 Jan 2025 12:41:17 +0100 Subject: [PATCH] [TASK] Migrate version bumper config to presets --- composer.json | 2 +- composer.lock | 14 +++++++------- version-bumper.yaml | 8 +++----- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/composer.json b/composer.json index e0fe2e5..160233a 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ }, "require-dev": { "armin/editorconfig-cli": "^1.8 || ^2.0", - "eliashaeussler/version-bumper": "^1.3 || ^2.0", + "eliashaeussler/version-bumper": "^2.1.1", "ergebnis/composer-normalize": "^2.42", "friendsofphp/php-cs-fixer": "^3.57", "phpstan/extension-installer": "^1.3", diff --git a/composer.lock b/composer.lock index 4938965..452f8b5 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d22b3b3357021251494864aa1f08785b", + "content-hash": "c1649b08029f1c5f44fb44c9c79bb87c", "packages": [ { "name": "bacon/bacon-qr-code", @@ -6103,16 +6103,16 @@ }, { "name": "eliashaeussler/version-bumper", - "version": "2.1.0", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/eliashaeussler/version-bumper.git", - "reference": "bbdab6c6bb85d982611a8d1af18bf0d9a50b7f7c" + "reference": "d30cb4d831b796fcedc8d2881f3c93f3f3f356be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/eliashaeussler/version-bumper/zipball/bbdab6c6bb85d982611a8d1af18bf0d9a50b7f7c", - "reference": "bbdab6c6bb85d982611a8d1af18bf0d9a50b7f7c", + "url": "https://api.github.com/repos/eliashaeussler/version-bumper/zipball/d30cb4d831b796fcedc8d2881f3c93f3f3f356be", + "reference": "d30cb4d831b796fcedc8d2881f3c93f3f3f356be", "shasum": "" }, "require": { @@ -6161,9 +6161,9 @@ "description": "Composer plugin to bump project versions during release preparations", "support": { "issues": "https://github.com/eliashaeussler/version-bumper/issues", - "source": "https://github.com/eliashaeussler/version-bumper/tree/2.1.0" + "source": "https://github.com/eliashaeussler/version-bumper/tree/2.1.1" }, - "time": "2025-01-13T09:25:38+00:00" + "time": "2025-01-13T11:38:48+00:00" }, { "name": "ergebnis/composer-normalize", diff --git a/version-bumper.yaml b/version-bumper.yaml index 49036e4..cea3374 100644 --- a/version-bumper.yaml +++ b/version-bumper.yaml @@ -1,8 +1,6 @@ -filesToModify: - - path: ext_emconf.php - patterns: - - "'version' => '{%version%}'" - reportUnmatched: true +presets: + - typo3-commit-guidelines + - typo3-extension releaseOptions: commitMessage: '[RELEASE] Release of EXT:mailqueue {%version%}'