Skip to content

Commit

Permalink
[BUGFIX] provide valid ext_emconf.php
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichmathes committed Apr 16, 2024
1 parent 2c99063 commit 1af4c16
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
- name: TYPO3 Ter Uploader
uses: tomasnorre/[email protected]
name: TYPO3 TER Upload

on:
push:
tags:
- "**"

jobs:
TERUpload:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v1
- uses: tomasnorre/typo3-upload-ter@v2
with:
api-token: ${{ secrets.TYPO3_API_TOKEN }}
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@
},
"scripts": {
"prepare-release": [
"sed -i '$i\\ \\x27version\\x27 => \\x27'$TAG_WITHOUT_V'\\x27,' ext_emconf.php",
"sed -i'' -e \"s/'version' => ''/'version' => '$(echo ${GITHUB_REF#refs/tags/} | sed 's/v//')'/\" ext_emconf.php",
"cat ext_emconf.php",
"rm .editorconfig",
"rm .gitignore",
"rm .php-cs-fixer.dist.php"
Expand Down
3 changes: 2 additions & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
'author_email' => '[email protected], [email protected]',
'author_company' => 'sitegeist media solutions GmbH',
'state' => 'stable',
'version' => '',
'uploadfolder' => false,
'clearCacheOnLoad' => true,
'constraints' => [
'depends' => [
'typo3/cms-dashboard' => '12.4.0-13.9.99',
'typo3' => '12.4.0-13.9.99',
'php' => '8.1.0-8.3.99',
],
'conflicts' => [
Expand Down

0 comments on commit 1af4c16

Please sign in to comment.