https://bz.apache.org/ooo/show_bug.cgi?id=127639

Ash <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #10 from Ash <[email protected]> ---
Created attachment 86349
  --> https://bz.apache.org/ooo/attachment.cgi?id=86349&action=edit
script to update version of OO files

A few words on how to use:
- Execute like this : 
updateVersion.sh <version> <oo_path>
where: version = the new version you want to add to the files
       oo_path= the path to the repo where you have the files. If no path is
given, the script assumes current working directory
- To tell the script what files to look for and what patterns you want to
change you have to modify the config file like this:
o You can simply add a file by name or by path
o If you use file name the script will search for all files with that name and
try to parse them
o If you use path+file then the search will be faster as it will be more
specific
o You can add patterns to look for in each file by name or name=value (like
what is needed in minor.mk)

There are 2 things I still need to take care of:
- See how to treat PREVIOUS_VERSION pattern (like found in openoffice.lst) and
DATABASENAME
- I want to expand versions given as input like 4 or 4.1 to 4.0.0 or 4.1.0.
Currently this is not done

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to