chore: add release workflow

This commit is contained in:
2025-09-18 00:25:55 +02:00
parent 6a7bc2b544
commit 0025d3fbd8
5 changed files with 298 additions and 20 deletions

View File

@@ -1,4 +1,22 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.0"
"version": "1.0",
"versionHeightOffset": -1,
"publicReleaseRefSpec": [
"^refs/heads/main$",
"^refs/heads/release/v\\d+\\.\\d+"
],
"cloudBuild": {
"buildNumber": {
"enabled": true,
"includeCommitId": {
"when": "nonPublicReleaseOnly",
"where": "buildMetadata"
}
}
},
"release": {
"branchName": "release/v{version}",
"firstUnstableTag": "alpha"
}
}