Skip to content

Commit d3cb51e

Browse files
committed
Build releases from release branch
1 parent 8cdce09 commit d3cb51e

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- release/**
78

89
pull_request:
910
branches:

source/SkiaScene.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1919
ProjectSection(SolutionItems) = preProject
2020
Directory.Build.props = Directory.Build.props
2121
Directory.Packages.props = Directory.Packages.props
22+
..\version.json = ..\version.json
2223
EndProjectSection
2324
EndProject
2425
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{4CB34AC9-245F-4ECB-BB68-4E150F4BE55B}"

version.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "3.0-alpha",
44
"publicReleaseRefSpec": [
55
"^refs/heads/main",
6-
"^refs/heads/v\\d+\\.\\d+$"
7-
]
6+
"^refs/heads/release/v\\d+(?:\\.\\d+)?$"
7+
],
8+
"release": {
9+
"branchName": "release/v{version}"
10+
}
811
}

0 commit comments

Comments
 (0)