mirror of
https://github.com/Smaug123/WoofWare.DotnetRuntimeLocator
synced 2025-10-14 19:48:39 +00:00
Wait for NuGet readiness and assert package contents (#8)
This commit is contained in:
10
.github/workflows/assert-contents.sh
vendored
Normal file
10
.github/workflows/assert-contents.sh
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir from-nuget && cp from-nuget.nupkg from-nuget/zip.zip && cd from-nuget && unzip zip.zip && cd - || exit 1
|
||||
|
||||
mkdir from-local && cp packed/*.nupkg from-local/zip.zip && cd from-local && unzip zip.zip && cd - || exit 1
|
||||
|
||||
find from-local -type f -exec sha256sum {} \; | sort > from-local.txt
|
||||
find from-nuget -type f -and -not -name '.signature.p7s' -exec sha256sum {} \; | sort > from-nuget.txt
|
||||
|
||||
diff from-local.txt from-nuget.txt
|
Reference in New Issue
Block a user