author | Brendan Donegan <brendand@symbian.org> |
Thu, 29 Apr 2010 14:23:30 +0100 | |
changeset 73 | 4abf603ec3e6 |
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'); |