application/sis/make_release.py
author teknolog
Sat, 01 May 2010 14:42:23 +0100
branchsymbian1
changeset 76 bcf91cd34ddd
parent 55 f491d534ef9c
permissions -rw-r--r--
Workaround for UREL crash in sqlite: Pre-compiled UDEB versions of SQLite are now copied in place at build time for both UDEB and UREL. Ugly, but it works.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
55
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     1
import os;
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     2
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     3
#del *.sis - delete all sis files python style
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     4
os.system('del *.sis');
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     5
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     6
#update 'build' number in PKG file
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     7
os.system('hg log -l 1 > temp.txt');
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     8
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
     9
os.system('makesis -d%EPOCROOT% podcatcher_udeb.pkg');
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
    10
os.system('signsis podcatcher_udeb.sis podcatcher_udeb_signed.sis podcast.cer podcast.key');
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
    11
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
    12
#update 'build' number in PKG file
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
    13
os.system('makesis -d%EPOCROOT% podcatcher_urel.pkg');
f491d534ef9c Added a script to generate the SIS with updated version. WIP.
Brendan Donegan <brendand@symbian.org>
parents:
diff changeset
    14
os.system('signsis podcatcher_urel.sis podcatcher_urel_signed.sis podcast.cer podcast.key');