btcpayserver/publish-docker.ps1
2021-04-01 12:06:29 +09:00

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