Revision 227,
682 bytes
checked in by bartek, 11 years ago
(diff) |
merge with branch 1.3.0
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | |
---|
3 | if [[ $# -ne 2 ]] |
---|
4 | then |
---|
5 | echo "Wrong number of parameters" |
---|
6 | fi |
---|
7 | |
---|
8 | sed -i s/define\ PRODUCT_VERSION\.*/define\ PRODUCT_VERSION\ \"$1\"/g installer.nsi |
---|
9 | sed -i s/PRODUCT_VERSION=\.*/PRODUCT_VERSION=\"$1\"/g makeLinuxDist.sh |
---|
10 | |
---|
11 | sed -i -e "s|<txtFileVersion>.*</txtFileVersion>|<txtFileVersion>$1</txtFileVersion>|g" \ |
---|
12 | -e "s|<txtProductVersion>.*</txtProductVersion>|<txtProductVersion>$1</txtProductVersion>|g" \ |
---|
13 | -e "s|<fileVersion>.*</fileVersion>|<fileVersion>$2</fileVersion>|g" \ |
---|
14 | -e "s|<productVersion>.*</productVersion>|<productVersion>$2</productVersion>|g" launch4j_qcg-icon.xml |
---|
15 | |
---|
16 | sed -i "s/VERSION = .*/VERSION = \"$1\";/g" src/org/qcg/icon/AboutDialog.java |
---|
Note: See
TracBrowser
for help on using the repository browser.