Composer extensions
This commit is contained in:
2
typo3conf/ext/dp_cookieconsent/.github/FUNDING.yml
vendored
Normal file
2
typo3conf/ext/dp_cookieconsent/.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
github: DirkPersky
|
||||
custom: ['https://www.paypal.com/paypalme/dirkpersky']
|
||||
37
typo3conf/ext/dp_cookieconsent/.github/workflows/Deploy.yml
vendored
Normal file
37
typo3conf/ext/dp_cookieconsent/.github/workflows/Deploy.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v?[0-9]+.[0-9]+.[0-9]+"
|
||||
|
||||
jobs:
|
||||
Ship-to-TER:
|
||||
name: 'Ship to TER'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Set up PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: 7.4
|
||||
coverage: none
|
||||
|
||||
- name: "Extract tag, version from GITHUB_REF"
|
||||
id: "github-ref"
|
||||
run: |
|
||||
echo "::set-output name=tag::$(echo $GITHUB_REF | sed -E -n 's#^refs/tags/(.*)$#\1#p')"
|
||||
echo "::set-output name=version::$(echo $GITHUB_REF | sed -E -n 's#^refs/tags/v?([0-9]+\.)([0-9]+\.)([0-9]+)#\1\2\3#p')"
|
||||
|
||||
- name: Deploy to TER
|
||||
run: |
|
||||
if [ -n "${{ secrets.TYPO3_ORG_USERNAME }}" ] && [ -n "${{ secrets.TYPO3_ORG_PASSWORD }}" ]; then
|
||||
echo -e "Preparing upload of release ${{ steps.github-ref.outputs.version }} to TER\n";
|
||||
# Install ter client
|
||||
composer global require helhum/ter-client
|
||||
# Upload
|
||||
echo "Uploading release ${{ steps.github-ref.outputs.version }} to TER\n"
|
||||
$HOME/.composer/vendor/helhum/ter-client/ter-client upload dp_cookieconsent . -u "${{ secrets.TYPO3_ORG_USERNAME }}" -p "${{ secrets.TYPO3_ORG_PASSWORD }}" -m "https://github.com/DirkPersky/typo3-dp_cookieconsent/releases/tag/${{ steps.github-ref.outputs.tag }}"
|
||||
fi;
|
||||
5
typo3conf/ext/dp_cookieconsent/.gitignore
vendored
Normal file
5
typo3conf/ext/dp_cookieconsent/.gitignore
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Created by .ignore support plugin (hsz.mobi)
|
||||
|
||||
# IntelliJ project files
|
||||
.idea
|
||||
|
||||
@@ -1,39 +1,30 @@
|
||||
<?php
|
||||
|
||||
/***************************************************************
|
||||
* Extension Manager/Repository config file for ext "dp_cookieconsent".
|
||||
/*
|
||||
* Copyright (c) 2021.
|
||||
*
|
||||
* Auto generated 15-07-2022 12:27
|
||||
* @category TYPO3
|
||||
*
|
||||
* Manual updates:
|
||||
* Only the data in the array - everything else is removed by next
|
||||
* writing. "version" and "dependencies" must not be touched!
|
||||
***************************************************************/
|
||||
* @copyright 2021 Dirk Persky (https://github.com/DirkPersky)
|
||||
* @author Dirk Persky <info@dp-wired.de>
|
||||
* @license MIT
|
||||
*/
|
||||
|
||||
$EM_CONF[$_EXTKEY] = array (
|
||||
'title' => 'Cookie Consent',
|
||||
'description' => 'Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)',
|
||||
'category' => 'fe',
|
||||
'clearCacheOnLoad' => true,
|
||||
'author' => 'Dirk Persky',
|
||||
'author_company' => '',
|
||||
'author_email' => 'infoy@dp-wired.de',
|
||||
'constraints' =>
|
||||
array (
|
||||
'depends' =>
|
||||
array (
|
||||
'typo3' => '10.4.0-11.5.99',
|
||||
),
|
||||
'conflicts' =>
|
||||
array (
|
||||
),
|
||||
'suggests' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
'state' => 'stable',
|
||||
'version' => '11.6.3',
|
||||
'uploadfolder' => true,
|
||||
'clearcacheonload' => false,
|
||||
);
|
||||
$EM_CONF[$_EXTKEY] = [
|
||||
'title' => 'Cookie Consent',
|
||||
'description' => 'Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)',
|
||||
'category' => 'fe',
|
||||
'clearCacheOnLoad' => true,
|
||||
'author' => 'Dirk Persky',
|
||||
'author_company' => '',
|
||||
'author_email' => 'infoy@dp-wired.de',
|
||||
'constraints' => [
|
||||
'depends' => [
|
||||
'typo3' => '10.4.0-11.5.99'
|
||||
],
|
||||
'conflicts' => [],
|
||||
'suggests' => [],
|
||||
],
|
||||
'state' => 'stable', // stable
|
||||
'version' => '11.6.3'
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user