From 8cd7ed2d573db4a2d1020cc562da13f47c767b32 Mon Sep 17 00:00:00 2001 From: David Steeb Date: Wed, 29 Jul 2026 16:07:31 +0200 Subject: [PATCH 1/3] [TASK] Add TER publish workflow --- .github/workflows/publish.yml | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..520adc2 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,53 @@ +name: publish + +on: + push: + tags: + - '*' + +jobs: + publish: + name: Publish new version to TER + if: startsWith(github.ref, 'refs/tags/') + runs-on: ubuntu-latest + env: + TYPO3_API_TOKEN: ${{ secrets.TYPO3_API_TOKEN }} + + steps: + - name: Checkout repository + uses: actions/checkout@v6 + + - name: Check tag + run: | + if ! [[ ${{ github.ref }} =~ ^refs/tags/[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$ ]]; then + exit 1 + fi + + - name: Get version + id: get-version + run: echo "version=${GITHUB_REF#refs/tags/}" >> "$GITHUB_OUTPUT" + + - name: Get comment + id: get-comment + run: | + comment=$(git tag -n10 -l "${{ steps.get-version.outputs.version }}" | sed "s/^[0-9.]*[ ]*//g") + if [[ -z "${comment// }" ]]; then + comment="Released version ${{ steps.get-version.outputs.version }}" + fi + { + echo "comment<> "$GITHUB_OUTPUT" + + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.3 + extensions: intl, mbstring, json, zip, curl + + - name: Install tailor + run: composer global require typo3/tailor --prefer-dist --no-progress --no-suggest + + - name: Publish to TER + run: php ~/.composer/vendor/bin/tailor ter:publish --comment "${{ steps.get-comment.outputs.comment }}" ${{ steps.get-version.outputs.version }} From 5b786bb1d5d4368a3663fa9c74625b11b004e1b5 Mon Sep 17 00:00:00 2001 From: David Steeb Date: Wed, 29 Jul 2026 16:07:31 +0200 Subject: [PATCH 2/3] [RELEASE] 2.0.1 --- ext_emconf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext_emconf.php b/ext_emconf.php index 36bffdc..1653c99 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ 'title' => 'List Elements for TYPO3 records', 'description' => 'Adds list elements to tt_content, pages, and other content tables', 'category' => 'backend', - 'version' => '2.0.0', + 'version' => '2.0.1', 'state' => 'stable', 'author' => 'David Steeb, b13 GmbH', 'author_email' => 'typo3@b13.com', From 8ddad61c1891a4fc28a3ddde6d04947ed5a88c0b Mon Sep 17 00:00:00 2001 From: David Steeb Date: Wed, 29 Jul 2026 16:46:31 +0200 Subject: [PATCH 3/3] [TASK] Add version to composer.json (ext_emconf.php deprecation) --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 814c135..7ada3c3 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,8 @@ "cms-package-dir": "{$vendor-dir}/typo3/cms", "web-dir": ".Build/Web", "app-dir": ".Build", - "extension-key": "listelements" + "extension-key": "listelements", + "version": "2.0.1" } }, "minimum-stability": "dev",