Commit c66fa897 authored by Thomas Löffler's avatar Thomas Löffler

[TASK] Initial extension

parents
cache:
key: "$CI_BUILD_NAME/$CI_BUILD_REF_NAME"
untracked: true
paths:
- cache/
stages:
- build
- upload
# TER Upload when tagging in master branch
# The variables T3O_USERNAME and T3O_PASSWORD should be set in GitLab
ter-upload:
stage: upload
only:
- tags
before_script:
- curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
- export COMPOSER_CACHE_DIR=/cache/composer
script:
- composer install
- composer require namelesscoder/typo3-repository-client
- export TYPO3_PATH_WEB="$PWD/.Build/Web"
- >
if [ -n "$CI_BUILD_TAG" ] && [ -n "$T3O_USERNAME" ] && [ -n "$T3O_PASSWORD" ]; then
echo -e "Preparing upload of release ${CI_BUILD_TAG} to TER\n"
# Cleanup before we upload
git reset --hard HEAD && git clean -fx
# Upload
TAG_MESSAGE=`git tag -n10 -l $CI_BUILD_TAG | sed 's/^[0-9.]*[ ]*//g'`
echo "Uploading release ${CI_BUILD_TAG} to TER"
.Build/bin/upload . "$T3O_USERNAME" "$T3O_PASSWORD" "$TAG_MESSAGE"
fi;
\ No newline at end of file
{
"name": "spooner-web/just_sitemap",
"type": "typo3-cms-extension",
"description": "A Google sitemap extension",
"homepage": "https://typo3.org",
"license": [
"GPL-2.0+"
],
"keywords": [
"TYPO3",
"extension",
"google",
"sitemap",
"lightweight"
],
"authors": [
{
"name": "Thomas Löffler",
"email": "loeffler@spooner-web.de",
"homepage": "https://spooner-web.de",
"role": "Developer"
}
],
"require": {
"typo3/cms": "^7.6 || ^8"
},
"config": {
"vendor-dir": ".Build/vendor/",
"bin-dir": ".Build/bin/"
},
"extra": {
"typo3/cms": {
"cms-package-dir": "{$vendor-dir}/typo3/cms",
"web-dir": ".Build/Web"
}
}
}
<?php
/**
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
$EM_CONF[$_EXTKEY] = [
'title' => 'Just Sitemap - Google sitemap',
'description' => 'A Google sitemap for pages',
'category' => 'plugin',
'version' => '0.0.1',
'state' => 'beta',
'author' => 'Thomas Löffler',
'constraints' => [
'depends' => [
'typo3' => '7.6.0-8.99.99',
'fluid_styled_content' => '7.6.0'
],
'conflicts' => [],
'suggests' => []
]
];
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment