mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
9 lines
272 B
PowerShell
9 lines
272 B
PowerShell
$ver = [regex]::Match((Get-Content 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 --tags --force
|