btcpayserver/publish-docker.ps1

5 lines
176 B
PowerShell
Raw Normal View History

$ver = [regex]::Match((Get-Content Build/Version.csproj), '<Version>([^<]+)<').Groups[1].Value
2017-09-29 15:05:18 +09:00
git tag -a "v$ver" -m "$ver"
2019-03-29 17:48:24 +09:00
git checkout master
2021-04-01 12:05:54 +09:00
git push origin "v$ver" --force