From 16a5754af97bd67b9204c52c649b5e1910ec9317 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Sat, 9 Nov 2024 00:10:19 +1100 Subject: [PATCH] fix: version --- version.json | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/version.json b/version.json index 4acec1c69..5c7d5f84e 100644 --- a/version.json +++ b/version.json @@ -1,10 +1,21 @@ { - "version": "7.2.1", + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "7.2", "publicReleaseRefSpec": [ - "^refs/heads/main$", // we release out of main - "^refs/heads/rel/v\\d+\\.\\d+" // we also release branches starting with vN.N + "^refs/heads/master$", // we release out of master + "^refs/heads/main$", + "^refs/heads/latest$", + "^refs/heads/preview/.*", // we release previews + "^refs/heads/patches/.*", // we release previews + "^refs/heads/rel/\\d+\\.\\d+\\.\\d+" // we also release branches starting with rel/N.N.N ], "nugetPackageVersion":{ "semVer": 2 + }, + "cloudBuild": { + "setVersionVariables": true, + "buildNumber": { + "enabled": false + } } -} +} \ No newline at end of file