Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raise extension version and dependencies on release #1

Open
wouter90 opened this issue Feb 25, 2015 · 0 comments
Open

Raise extension version and dependencies on release #1

wouter90 opened this issue Feb 25, 2015 · 0 comments

Comments

@wouter90
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant