[C#] Switch to net6.0 for the "target", though unclear if it does much
[ldk-java] / c_sharp / build-release-nupkg.sh
1 #/bin/sh
2 set -e
3 set -x
4
5 # zips are not generally deterministic without some tweaking, which we do here.
6
7 echo "Checking that required release native libraries are present..."
8 ls packaging_artifacts/runtimes/win-x64/native/ldkcsharp.dll
9 ls packaging_artifacts/runtimes/linux-x64/native/libldkcsharp.so
10 ls packaging_artifacts/lib/net6.0/csharpldk.dll
11
12 cd packaging_artifacts
13 find . | xargs -L1 touch -d "2021-01-01 00:00 UTC" 
14 zip -Xvu ../org.ldk.nupkg * */* */*/* */*/*/* */*/*/*/*