eclipse plugin: unharcode script's version
This commit is contained in:
parent
62956b77ee
commit
cc933c026a
1 changed files with 9 additions and 7 deletions
|
@ -5,15 +5,17 @@ REM cn = common name
|
|||
REM ou = organizational unit
|
||||
REM o = organization
|
||||
REM c = Country
|
||||
SET PLUGIN_VERSION=1.0.1
|
||||
SET PLUGIN_WML_VERSIOn=1.1.1
|
||||
echo generating key...
|
||||
keytool.exe -genkey -dname "cn=Battle for Wesnoth, ou=Wesnoth, o=Wesnoth" -alias wesnoth -keypass %1 -keystore keystore -storepass %2 -validity 1095
|
||||
echo signing feature
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/Wesnoth_Eclipse_Plugin_1.0.1.jar wesnoth
|
||||
echo signing org.wesnoth.wml_1.1.1.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml_1.1.1.jar wesnoth
|
||||
echo signing org.wesnoth.wml.ui_1.1.1.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml.ui_1.1.1.jar wesnoth
|
||||
echo signing org.wesnoth_1.0.1.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth_1.0.1.jar wesnoth
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/features/Wesnoth_Eclipse_Plugin_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml_%PLUGIN_VWML_ERSION%.jar wesnoth
|
||||
echo signing org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth.wml.ui_%PLUGIN_WML_VERSION%.jar wesnoth
|
||||
echo signing org.wesnoth_%PLUGIN_VERSION%.jar
|
||||
jarsigner.exe -keystore keystore -storepass %2 -keypass %1 ../update_site/plugins/org.wesnoth_%PLUGIN_VERSION%.jar wesnoth
|
||||
echo finished.
|
||||
@pause
|
||||
|
|
Loading…
Add table
Reference in a new issue