btcpayserver/publish-docker.ps1
2019-10-23 15:44:49 +09:00

9 lines
279 B
PowerShell

$ver = [regex]::Match((Get-Content Build/Version.csproj), '<Version>([^<]+)<').Groups[1].Value
git tag -a "v$ver" -m "$ver"
git checkout latest
git merge master
git checkout master
git tag -d "stable"
git tag -a "stable" -m "stable"
git push origin latest master "v$ver" --force