author | teknolog |
Sat, 01 May 2010 12:49:47 +0100 | |
changeset 75 | 5382889bbbb4 |
parent 55 | f491d534ef9c |
permissions | -rw-r--r-- |
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'); |