BTCPayServer.Vault/Build/push-new-tag.ps1
2019-11-26 18:10:21 +09:00

4 lines
183 B
PowerShell

$ver = [regex]::Match((Get-Content ../BTCPayServer.Vault/Version.csproj), '<Version>([^<]+)<').Groups[1].Value
git tag -a "Vault/v$ver" -m "Vault/v$ver"
git push origin "Vault/v$ver"