2
0

Don't use daemon when setting release passwords in environment.

This commit is contained in:
Maarten Billemont 2018-08-25 11:57:36 -04:00
parent 3cbb063926
commit 5ca81b4aa7
2 changed files with 2 additions and 4 deletions

View File

@ -2,11 +2,11 @@ To build a release distribution:
Desktop: Desktop:
STORE_PW=$(mpw masterpassword.keystore) KEY_PW_DESKTOP=$(mpw masterpassword-desktop) gradle clean masterpassword-gui:shadowJar STORE_PW=$(mpw masterpassword.keystore) KEY_PW_DESKTOP=$(mpw masterpassword-desktop) gradle --no-daemon clean masterpassword-gui:shadowJar
Android: Android:
STORE_PW=$(mpw masterpassword.keystore) KEY_PW_ANDROID=$(mpw masterpassword-android) gradle clean masterpassword-android:assembleRelease STORE_PW=$(mpw masterpassword.keystore) KEY_PW_ANDROID=$(mpw masterpassword-android) gradle --no-daemon clean masterpassword-android:assembleRelease
Note: Note:

View File

@ -24,8 +24,6 @@ shadowJar {
attributes 'Implementation-Version': version attributes 'Implementation-Version': version
} }
doLast { doLast {
println("doLast: ${System.env.KEY_PW_DESKTOP}");
println("doLast: "+System.getenv( 'KEY_PW_DESKTOP' ));
if (System.getenv( 'KEY_PW_DESKTOP' ) != null) if (System.getenv( 'KEY_PW_DESKTOP' ) != null)
ant.signjar( jar: archivePath, ant.signjar( jar: archivePath,
alias: 'masterpassword-desktop', alias: 'masterpassword-desktop',