mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 15:16:13 +01:00

[FEATURE] Add TER release via github actions (#189)

Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
Łukasz Uznański 2021-02-22 16:59:15 +01:00 committed by GitHub
parent d54111edf7
commit 2aae18c2b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 0 deletions

17
.github/workflows/publish.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Publish
on:
push:
tags:
- "**"
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- name: "Checkout"
uses: actions/checkout@v2
- name: "Publish new version to TER"
uses: tomasnorre/typo3-upload-ter@v2
with:
api-token: ${{ secrets.TYPO3_API_TOKEN }}

View file

@ -114,6 +114,23 @@
"link-extension": [ "link-extension": [
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'", "@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'" "@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
],
"prepare-release": [
".gitignore",
"rm -rf .Build",
"rm -rf .github",
"rm -rf .gitlab",
"rm -rf Tests",
"rm .editorconfig",
"rm .gitattributes",
"rm .php_cs.php",
"rm /Resources/Private/.eslintignore",
"rm /Resources/Private/.eslintrc.json",
"rm /Resources/Private/.prettierrc.js",
"rm /Resources/Private/package.json",
"rm /Resources/Private/stylelint.config.js",
"rm codeception.yml",
"rm phpcs.xml"
] ]
}, },
"support": { "support": {