]> git.bitcoin.ninja Git - ldk-java/commitdiff
Fix CI failures due to faketime breaking PKI time checks
authorMatt Corallo <git@bluematt.me>
Sat, 25 Sep 2021 05:29:10 +0000 (05:29 +0000)
committerMatt Corallo <git@bluematt.me>
Sat, 25 Sep 2021 06:52:12 +0000 (06:52 +0000)
build-release-jar.sh

index 4b7367305c116aad7385da75bab1e7130b3e09a7..75203b3dcbb39938e919a222dfdd9b03dfac1ef5 100755 (executable)
@@ -11,6 +11,8 @@ ls src/main/resources/liblightningjni_MacOSX-aarch64.nativelib
 
 export LANG=C
 
+# We need to fetch dependencies first as faketime will break PKI cert checks!
+mvn -DskipTests=true -Dorg.lightningdevkit.skipdocs=false package
 mvn clean
 faketime 2021-01-01 mvn -DskipTests=true -Dorg.lightningdevkit.skipdocs=false package