Skip to content

Commit

Permalink
get ext_emconf version from git tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ulrichmathes committed Jun 17, 2024
1 parent f0c4686 commit c8c5c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"lint:php": "phpcs --standard=PSR2 --extensions=php --exclude=Generic.Files.LineLength --ignore=.Build,Tests,ext_emconf.php .",
"lint:editorconfig": "ec .",
"prepare-release": [
"sed -i'' -e \"s/'version' => ''/'version' => '$(echo ${GITHUB_REF#refs/tags/} | sed 's/v//')'/\" ext_emconf.php",
"rm -r .github .ecrc .editorconfig .gitattributes Tests"
]
}
Expand Down
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'state' => 'stable',
'uploadfolder' => false,
'clearCacheOnLoad' => true,
'version' => '1.0.2',
'version' => '',
'constraints' => [
'depends' => [
'typo3' => '9.5.0-12.9.99',
Expand Down

0 comments on commit c8c5c46

Please sign in to comment.