btcpayserver/publish-docker.ps1
2019-03-29 18:39:02 +09:00

9 lines
290 B
PowerShell

$ver = [regex]::Match((Get-Content BTCPayServer\BTCPayServer.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 --tags --force