From ec25aefc0130b801f62df6a72f8cef93d2cef9b6 Mon Sep 17 00:00:00 2001 From: Frank Berger Date: Sat, 26 Aug 2023 18:57:21 +0200 Subject: [PATCH] [TASK] New Release Tasks: * Fixes Issue #25 * Fixes Issue #27 * Change CI to Key and release driven Resolves: #27 Resolves: #25 --- .github/workflows/ci.yml | 32 +++++++++----------------------- README.md | 5 +++++ ext_emconf.php | 2 +- 3 files changed, 15 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0ca0618..c59b906 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,30 +1,16 @@ name: Publish on: - push: - tags: - - '*' + release: + types: [published] + jobs: - publish: - name: Publish to TER + TERUpload: runs-on: ubuntu-latest + strategy: + fail-fast: false steps: - - name: Checkout code - uses: actions/checkout@master - - name: Set up PHP Version 7.4 - uses: shivammathur/setup-php@v2 + - uses: actions/checkout@v1 + - uses: tomasnorre/typo3-upload-ter@v2 with: - php-version: 7.4 - - name: Install Dependencies - move old composer.json - run: | - mv composer.json composer.json-orig - composer require phpoffice/phpspreadsheet 1.17.1 --ignore-platform-reqs --no-progress - mv composer.json-orig composer.json - rm composer.lock - - name: Publish to TER - uses: the-coding-owl/action-typo3-extension-repository-upload@0.0.1 - env: - SECRET_USERNAME: ${{ secrets.USERNAME }} - SECRET_PASSWORD: ${{ secrets.PASSWORD }} - EXTENSION_KEY: 'xlsimport' - UPLOAD_MESSAGE: ${{ github.event.head_commit.message }} + api-token: ${{ secrets.TYPO3_API_TOKEN }} diff --git a/README.md b/README.md index f6ef421..2373030 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,10 @@ # XLS Importer +[![Latest Stable Version](https://poser.pugx.org/sudhaus7/xlsimport/v/stable.svg)](https://extensions.typo3.org/extension/xlsimport/) +[![TYPO3 11](https://img.shields.io/badge/TYPO3-11-orange.svg)](https://get.typo3.org/version/11) +[![Total Downloads](https://poser.pugx.org/sudhaus7/logformatter/d/total.svg)](https://packagist.org/packages/sudhaus7/xlsimport) +[![Monthly Downloads](https://poser.pugx.org/sudhaus7/xlsimport/d/monthly)](https://packagist.org/packages/sudhaus7/logformatter) + ## TCA driven import Script for Spreadsheets ### What does it do? diff --git a/ext_emconf.php b/ext_emconf.php index 293a5cf..b386fbd 100755 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -4,7 +4,7 @@ 'title' => '(Sudhaus7) XLS Importer', 'description' => 'A simple importer to import data into the database', 'category' => 'module', - 'version' => '4.0.0', + 'version' => '4.0.1', 'state' => 'stable', 'uploadfolder' => 1, 'clearcacheonload' => 0,