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 08:05:18 +02:00
git tag -a "v$ver" -m "$ver"
2019-03-29 09:48:24 +01:00
git checkout master
2021-04-01 05:05:54 +02:00
git push origin "v$ver" --force