[Sakai Jira] (SAKIII-5500) ./tools/release/release_pre_process_files.sh wrongly assumes that current version minus SNAPSHOT suffix equals next version
Anthony Whyte (JIRA)
sakai-ui-dev-tracking at collab.sakaiproject.org
Wed Apr 18 13:29:27 PDT 2012
[ https://jira.sakaiproject.org/browse/SAKIII-5500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Whyte resolved SAKIII-5500.
-----------------------------------
Resolution: Fixed
> ./tools/release/release_pre_process_files.sh wrongly assumes that current version minus SNAPSHOT suffix equals next version
> ---------------------------------------------------------------------------------------------------------------------------
>
> Key: SAKIII-5500
> URL: https://jira.sakaiproject.org/browse/SAKIII-5500
> Project: Sakai OAE UI Dev
> Issue Type: Bug
> Components: Maven
> Affects Versions: 1.1.0
> Reporter: Anthony Whyte
> Assignee: Anthony Whyte
> Fix For: 1.2.0
>
>
> The ./tools/release/release_pre_process_files.sh wrongly assumes that the current version minus -SNAPSHOT suffix equals the next version. This is too crude a view of the varieties of versions one might specify. It does not, for example, account for the following version scenario:
> 1.2-SNAPSHOT -> 1.2.0-RC1
> The script currently accepts only one argument (cversion) and assumes all one has to do is whack the SNAPSHOT prefix in order to advance to the next version. Next versions containing, for example, three digits or a suffix that does not match the current version jack up the sed string replacement expression as one might expect.
> As a quick fix, add a second parameter (nversion).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.sakaiproject.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the sakai-ui-dev-tracking
mailing list