source: branches/1.1.9/updateVersion.sh @ 193

Revision 193, 611 bytes checked in by bartek, 11 years ago (diff)

New functionality:

  • domain selection
  • pre, post and monitoring scripts now may be provided as a text, not only in files
  • column for apps version in mainframe

Other changes

  • a lot of refactorization, cleanings, etc.
  • provided new updateVersion.sh script
Line 
1#!/bin/bash
2
3if [[ $# -ne 2 ]]
4then
5        echo "Wrong number of parameters"
6fi
7
8sed -i s/define\ PRODUCT_VERSION\.*/define\ PRODUCT_VERSION\ \"$1\"/g installer.nsi
9
10sed -i -e "s|<txtFileVersion>.*</txtFileVersion>|<txtFileVersion>$1</txtFileVersion>|g" \
11    -e "s|<txtProductVersion>.*</txtProductVersion>|<txtProductVersion>$1</txtProductVersion>|g" \
12    -e "s|<fileVersion>.*</fileVersion>|<fileVersion>$2</fileVersion>|g" \
13    -e "s|<productVersion>.*</productVersion>|<productVersion>$2</productVersion>|g" launch4j_qcg-icon.xml
14
15sed -i "s/VERSION = .*/VERSION = \"$1\";/g"  src/org/qcg/icon/AboutDialog.java
Note: See TracBrowser for help on using the repository browser.