$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

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

Remove stable and latest branch
Remove stable and latest branch
