Push only one tag

This commit is contained in:
nicolas.dorier 2020-09-01 11:51:11 +09:00
parent eba0778045
commit 3c3e2f80da
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -4,4 +4,4 @@ $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.Client/v$ver" -m "BTCPayServer.Client/$ver"
git push --tags
git push origin "BTCPayServer.Client/v$ver"