mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Push only one tag
This commit is contained in:
@@ -4,4 +4,4 @@ $package=(ls .\bin\Release\*.nupkg).FullName
|
|||||||
dotnet nuget push $package --source "https://api.nuget.org/v3/index.json"
|
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')
|
$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 tag -a "BTCPayServer.Client/v$ver" -m "BTCPayServer.Client/$ver"
|
||||||
git push --tags
|
git push origin "BTCPayServer.Client/v$ver"
|
||||||
|
|||||||
Reference in New Issue
Block a user