Skip to content

Commit 18447f6

Browse files
committed
[TASK] Improve packaging for release to TER and GH
Related: #1302
1 parent 1209152 commit 18447f6

File tree

3 files changed

+91
-4
lines changed

3 files changed

+91
-4
lines changed

.gitattributes

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
/.crowdin.yaml export-ignore
2+
/.ddev export-ignore
3+
/.editorconfig export-ignore
14
/.gitattributes export-ignore
5+
/.github export-ignore
26
/.gitignore export-ignore
37
/.project export-ignore
8+
/crowdin.yaml export-ignore
9+
/phpunit.xml.dist export-ignore
10+
/rector.php export-ignore
11+
/Resources/Private/Build export-ignore
412
/Tests export-ignore
5-
/Resources/Private/Sass/
6-
/Resources/Private/gulpfile.js
7-
/Resources/Private/package.json
8-
/readme.md
913
# Enforce checkout with linux lf consistent over all plattforms
1014
*.html text eol=lf
1115
*.css text eol=lf

.github/workflows/ter-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
TYPO3_API_TOKEN: ${{ secrets.TYPO3_API_TOKEN }}
2020
TYPO3_API_USERNAME: ${{ secrets.TYPO3_API_USERNAME }}
2121
TYPO3_API_PASSWORD: ${{ secrets.TYPO3_API_PASSWORD }}
22+
TYPO3_EXCLUDE_FROM_PACKAGING: '.project/tailor/excludeFromPackaging.php'
2223

2324
steps:
2425
- name: Checkout repository
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<?php
2+
3+
// Copied from https://github.com/TYPO3/tailor/blob/main/conf/ExcludeFromPackaging.php
4+
// Extended with own files and directories
5+
6+
return [
7+
'directories' => [
8+
'.build',
9+
'.ddev',
10+
'.git',
11+
'.github',
12+
'.gitlab',
13+
'.gitlab-ci',
14+
'.idea',
15+
'.phive',
16+
'.project',
17+
'bin',
18+
'build',
19+
'public',
20+
'tailor-version-artefact',
21+
'tailor-version-upload',
22+
'tests',
23+
'tools',
24+
'vendor',
25+
'Resources/Private/Build',
26+
'Tests',
27+
],
28+
'files' => [
29+
'CODE_OF_CONDUCT.md',
30+
'DS_Store',
31+
'Dockerfile',
32+
'ExtensionBuilder.json',
33+
'Makefile',
34+
'bower.json',
35+
'codeception.yml',
36+
'composer.lock',
37+
'crowdin.yaml',
38+
'docker-compose.yml',
39+
'dynamicReturnTypeMeta.json',
40+
'editorconfig',
41+
'env',
42+
'eslintignore',
43+
'eslintrc.json',
44+
'gitattributes',
45+
'gitignore',
46+
'gitlab-ci.yml',
47+
'gitmodules',
48+
'gitreview',
49+
'package-lock.json',
50+
'package.json',
51+
'phive.xml',
52+
'php-cs-fixer.dist.php',
53+
'php-cs-fixer.php',
54+
'php_cs',
55+
'php_cs.php',
56+
'phpcs.xml',
57+
'phpcs.xml.dist',
58+
'phplint.yml',
59+
'phpstan-baseline.neon',
60+
'phpstan.neon',
61+
'phpstan.neon.dist',
62+
'phpstorm.meta.php',
63+
'phpunit.xml',
64+
'phpunit.xml.dist',
65+
'prettierrc.json',
66+
'rector.php',
67+
'scrutinizer.yml',
68+
'styleci.yml',
69+
'stylelint.config.js',
70+
'stylelintrc',
71+
'travis.yml',
72+
'tslint.yaml',
73+
'tslint.yml',
74+
'typoscript-lint.yaml',
75+
'typoscript-lint.yml',
76+
'typoscriptlint.yaml',
77+
'typoscriptlint.yml',
78+
'webpack.config.js',
79+
'webpack.mix.js',
80+
'yarn.lock',
81+
],
82+
];

0 commit comments

Comments
 (0)