mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +01:00
5 lines
176 B
PowerShell
5 lines
176 B
PowerShell
$ver = [regex]::Match((Get-Content Build/Version.csproj), '<Version>([^<]+)<').Groups[1].Value
|
|
git tag -a "v$ver" -m "$ver"
|
|
git checkout master
|
|
git push origin "v$ver" --force
|