From d4f8a1eb40f39050a5d589b85378a83cea6f7310 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksander=20K=C4=85kol?= Date: Mon, 16 Feb 2026 09:40:20 +0100 Subject: [PATCH 1/3] Version check --- .github/workflows/create_release.yaml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/create_release.yaml b/.github/workflows/create_release.yaml index 0c6f41f..c805b07 100644 --- a/.github/workflows/create_release.yaml +++ b/.github/workflows/create_release.yaml @@ -15,11 +15,14 @@ jobs: - name: Checkout source uses: actions/checkout@v3 - - name: Check .version - run: if [ $(grep ${{ github.event.inputs.version }} .version -c) != 1 ]; then exit 1; fi - - - name: Check Changelog - run: if [ $(grep ${{ github.event.inputs.version }} CHANGELOG.md -c) != 1 ]; then exit 1; fi + - name: Check version + run: | + for FILE in .version CHANGELOG.MD; do + if [ $(grep ${{ github.event.inputs.version }} "$FILE" -c) != 1 ]; then + echo "Version ${{ github.event.inputs.version }} not found in $FILE" + exit 1 + fi + done - run: git archive --output=tpay-magento2-basic.zip HEAD From 98915d318f3d95fc4307ec1c34b49152b6acc3cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksander=20K=C4=85kol?= Date: Mon, 16 Feb 2026 09:41:48 +0100 Subject: [PATCH 2/3] Version check --- .version | 2 +- CHANGELOG.MD | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.version b/.version index aedc15b..fe16b34 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -2.5.3 +2.5.4 diff --git a/CHANGELOG.MD b/CHANGELOG.MD index a6d3a84..3e0e6f6 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.5.4 + +### Changed + +- CI/CD version check + ## 2.5.3 ### Added From 45dccd40a33fbf87d958b3de7376bf4f2a5788a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleksander=20K=C4=85kol?= Date: Mon, 16 Feb 2026 09:44:05 +0100 Subject: [PATCH 3/3] fixer --- Api/TpayConfigInterface.php | 4 +++- Api/TpayInterface.php | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Api/TpayConfigInterface.php b/Api/TpayConfigInterface.php index 0db7c24..5aa9944 100644 --- a/Api/TpayConfigInterface.php +++ b/Api/TpayConfigInterface.php @@ -4,7 +4,9 @@ namespace Tpay\Magento2\Api; -/** @api */ +/** + * @api + */ interface TpayConfigInterface { public function isTpayActive(): bool; diff --git a/Api/TpayInterface.php b/Api/TpayInterface.php index b4e8c7a..c9ba55b 100644 --- a/Api/TpayInterface.php +++ b/Api/TpayInterface.php @@ -4,7 +4,9 @@ namespace Tpay\Magento2\Api; -/** @api */ +/** + * @api + */ interface TpayInterface { public const CODE = 'Tpay_Magento2';