chore: adds CI configuration

This commit is contained in:
Matthias Langhard
2021-11-02 10:50:10 +01:00
parent 69f872082d
commit a18cea95aa
4 changed files with 41 additions and 5 deletions

8
publish.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/env bash
dotnet pack src -o ../../local-nuget-packages
unset -v latest
for file in "../local-nuget-packages"/*; do
[[ $file -nt $latest ]] && latest=$file
done
echo "$latest"
dotnet nuget push "$latest" -k "$NUGET_API_KEY" -s https://api.nuget.org/v3/index.json