User tests: Successful: Unsuccessful:
This PR updates bump.php to replace the string __DEPLOY_VERSION__
by the current release (if needed).
__DEPLOY_VERSION__
.php build/bump.php -v 3.6.0-beta2
(or current version, if other)3.6.0
.This allow to not worry anymore about the since tag. Just but __DEPLOY_VERSION__
on the PR code and when a version bump is done it will be replaced by the release version.
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Category | ⇒ | Code style |
i don't think it's a pre-requisite for bump.php to work on php memory limit of 128MB :)
no change ? are you sure? what is the output of the script?
brians-MacBook-Air:github-joomla-cms brian1$ /Applications/MAMP/bin/php/php5.5.26/bin/php build/bump.php -v 3.6.0-beta2
Version data:
what is the file you changed?
Changed two
administrator/components/com_admin/controllers/profile.php
plugins/system/highlight/highlight.php
ok will test those
[user@host build]# php bump.php -v 3.6.0-beta2
Version data:
- Main: 3.6
- Release: 3.6.0
- Full: 3.6.0-beta2
- Build:
- Dev Level: 0-beta2
- Dev Status: Beta
- Release date: 21-June-2016
- Release time: 12:03
- Release timezone: GMT
- Creation date: June 2016
- Since Version changed in 2 files.
Version bump complete!
Are you sure you added __DEPLOY_VERSION__
?
yes and I just tried again with a copy paste
brian i can't reproduce your issue.
Just checked php error log and that still shows a memory error even though its not logged to the screen - weird - must be me
I have tested this item
After applying the patch the DEPLOY_VERSION has been changed to 3.6.0 as expected. I did have to increase memory to 512MB to get the bump script to work though ;)
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-07-16 22:22:50 |
Closed_By | ⇒ | wilsonge |
Milestone |
Added: |
Milestone |
Added: |
Milestone |
Removed: |
I have tested this item? unsuccessfully on c2407f9
## With Patch
brians-MacBook-Air:github-joomla-cms brian1$ php build/bump.php -v 3.6.0-beta2
Version data:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 151553344 bytes) in /Applications/MAMP/htdocs/github-joomla-cms/build/bump.php on line 305
Without patch
brians-MacBook-Air:github-joomla-cms brian1$ php build/bump.php -v 3.6.0-beta2
Version data:
Version bump complete!
brians-MacBook-Air:github-joomla-cms brian1$
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/10883.