Skip to content
This repository was archived by the owner on Oct 13, 2025. It is now read-only.
This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Raise extension version and dependencies on release #1

@wouter90

Description

@wouter90

Raise extension version and dependencies on release of a new 7.x version (or in the future 8.x).

For 7.2 I used the following lines of code to automate the process.

Replace composer.json
find . -type d ( -path ./contrib/swiftmailer -o -path ./contrib/idna -o -path ./contrib/vendor -o -path ./contrib/pear -o -path ./sysext/adodb/adodb -o -path ./sysext/openid/lib/php-openid -o -path ./sysext/openid/lib/php-openid/Auth -o -path ./sysext/core/Resources/PHP/TYPO3.Flow ) -prune -o -name 'composer.json' -print | while read FILE; do tail -n1 $FILE | sed -i "s/7.1.0/7.2.0/g" $FILE; done

Replace version in ext_emconf.php
find . -type d ( -path ./contrib/swiftmailer -o -path ./contrib/idna -o -path ./contrib/vendor -o -path ./contrib/pear -o -path ./sysext/adodb/adodb -o -path ./sysext/openid/lib/php-openid -o -path ./sysext/openid/lib/php-openid/Auth -o -path ./sysext/core/Resources/PHP/TYPO3.Flow ) -prune -o -name 'ext_emconf.php' -print | while read FILE; do tail -n1 $FILE | sed -i "s/'version' => '7.1.0',/'version' => '7.2.0',/g" $FILE; done

Replace TYPO3 dependency
find . -type d ( -path ./contrib/swiftmailer -o -path ./contrib/idna -o -path ./contrib/vendor -o -path ./contrib/pear -o -path ./sysext/adodb/adodb -o -path ./sysext/openid/lib/php-openid -o -path ./sysext/openid/lib/php-openid/Auth -o -path ./sysext/core/Resources/PHP/TYPO3.Flow ) -prune -o -name 'ext_emconf.php' -print | while read FILE; do tail -n1 $FILE | sed -i "s/'7.1.0-7.1.99',/'7.2.0-7.2.99',/g" $FILE; done

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions