mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 09:54:30 +01:00
8 lines
453 B
PowerShell
8 lines
453 B
PowerShell
rm "bin\release\" -Recurse -Force
|
|
dotnet pack --configuration Release --include-symbols -p:SymbolPackageFormat=snupkg
|
|
$package=(ls .\bin\Release\*.nupkg).FullName
|
|
dotnet nuget push $package --source "https://api.nuget.org/v3/index.json"
|
|
$ver = ((ls .\bin\release\*.nupkg)[0].Name -replace '.*(\d+\.\d+\.\d+)\.nupkg','$1')
|
|
git tag -a "BTCPayServer.Abstractions/v$ver" -m "BTCPayServer.Abstractions/$ver"
|
|
git push origin "BTCPayServer.Abstractions/v$ver"
|