Fix nuget

This commit is contained in:
nicolas.dorier 2019-11-26 11:21:41 +09:00
parent 5102201107
commit cd1fb7de8d
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -1,6 +1,6 @@
rm "bin\release\" -Recurse -Force
dotnet pack --configuration Release
dotnet nuget push "bin\Release\" --source "https://api.nuget.org/v3/index.json"
dotnet pack --configuration Release .\BTCPayServer.Hwi.csproj
dotnet nuget push "bin\Release\" --source "https://api.nuget.org/v3/index.json" .\BTCPayServer.Hwi.csproj
$ver = ((ls .\bin\release\*.nupkg)[0].Name -replace 'BTCPayServer\.Hwi\.(\d+(\.\d+){1,3}).*', '$1')
git tag -a "Hwi/v$ver" -m "Hwi/$ver"
git push --tags