Don't use daemon when setting release passwords in environment.
This commit is contained in:
parent
3cbb063926
commit
5ca81b4aa7
@ -2,11 +2,11 @@ To build a release distribution:
|
||||
|
||||
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:
|
||||
|
||||
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:
|
||||
|
@ -24,8 +24,6 @@ shadowJar {
|
||||
attributes 'Implementation-Version': version
|
||||
}
|
||||
doLast {
|
||||
println("doLast: ${System.env.KEY_PW_DESKTOP}");
|
||||
println("doLast: "+System.getenv( 'KEY_PW_DESKTOP' ));
|
||||
if (System.getenv( 'KEY_PW_DESKTOP' ) != null)
|
||||
ant.signjar( jar: archivePath,
|
||||
alias: 'masterpassword-desktop',
|
||||
|
Loading…
Reference in New Issue
Block a user