Skip to content

Commit 2ba37d6

Browse files
authored
Merge pull request #3607 from tig/v1_17_1
Fixes #3606 - Release v1.17.1
2 parents bf92d12 + 5353f66 commit 2ba37d6

File tree

8 files changed

+41
-40
lines changed

8 files changed

+41
-40
lines changed

.github/workflows/api-docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build and publish API docs
33
on:
44
push:
55
# only publish v2 (main or develop); v2 is published via the Terminal.GuiV2Docs repo
6-
branches: [main, develop]
6+
branches: [v1_release, v1_develop]
77
paths:
88
- docfx/**
99

.github/workflows/dotnet-core.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: .NET Core
22

33
on:
44
push:
5-
branches: [ main, develop ]
5+
branches: [ v1_release, v1_develop ]
66
paths-ignore:
77
- '**.md'
88
pull_request:
9-
branches: [ main, develop ]
9+
branches: [ v1_release, v1_develop ]
1010
paths-ignore:
1111
- '**.md'
1212

.github/workflows/publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Publish Terminal.Gui
22

33
on:
44
push:
5-
branches: [ main, develop, v2_release, v2_develop ]
5+
branches: [ v1_release, v1_develop, v2_release, v2_develop ]
66
tags:
77
- v*
88
paths-ignore:

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ We welcome contributions from the community. See [Issues](https://github.com/gui
1212

1313
Terminal.Gui uses the [GitFlow](https://nvie.com/posts/a-successful-git-branching-model/) branching model.
1414

15-
* The `main` branch is always stable, and always matches the most recently released Nuget package.
16-
* The `develop` branch is where bug-fixes to v1.x happens. It is the default branch.
15+
* The `v1_release` branch is always stable, and always matches the most recently released Nuget package.
16+
* The `v1__develop` branch is where bug-fixes to v1.x happens. It is the default branch.
1717
* The `v2_develop` branch is where development on v2.x happens.
1818

1919
### Forking Terminal.Gui

GitVersion.yml

+10-9
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,26 @@ mode: ContinuousDeployment
22
tag-prefix: '[vV]'
33
continuous-delivery-fallback-tag: pre
44
branches:
5-
develop:
5+
v1_develop:
66
mode: ContinuousDeployment
77
tag: pre
8-
regex: develop
8+
regex: v1_develop
99
source-branches:
10-
- main
10+
- v1_release
1111
pre-release-weight: 100
12-
main:
12+
v1_release:
1313
tag: rc
1414
increment: Patch
15+
regex: v1_release
1516
source-branches:
16-
- develop
17-
- main
18-
feature:
17+
- v1_develop
18+
- v1_release
19+
v1_feature:
1920
tag: useBranchName
2021
regex: ^features?[/-]
2122
source-branches:
22-
- develop
23-
- main
23+
- v1_develop
24+
- v1_release
2425
pull-request:
2526
tag: PullRequest.{BranchName}
2627
increment: Inherit

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dotnet run
3737
* [Conceptual Documentation](https://gui-cs.github.io/Terminal.Gui/docs/index.html)
3838
* [API Documentation](https://gui-cs.github.io/Terminal.Gui/api/Terminal.Gui)
3939

40-
_The Documentation matches the most recent Nuget release from the `main` branch ([![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui))_
40+
_The Documentation matches the most recent Nuget release from the `v1_release_` branch ([![Version](https://img.shields.io/nuget/v/Terminal.Gui.svg)](https://www.nuget.org/packages/Terminal.Gui))_
4141

4242
See the [`Terminal.Gui/` README](https://github.com/gui-cs/Terminal.Gui/tree/master/Terminal.Gui) for an overview of how the library is structured. The [Conceptual Documentation](https://gui-cs.github.io/Terminal.Gui/docs/index.html) provides insight into core concepts.
4343

Terminal.Gui/Core/Application.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ namespace Terminal.Gui {
5353
/// </para>
5454
/// <para>
5555
/// When invoked sets the SynchronizationContext to one that is tied
56-
/// to the mainloop, allowing user code to use async/await.
56+
/// to the MainLoop, allowing user code to use async/await.
5757
/// </para>
5858
/// </remarks>
5959
public static class Application {

Terminal.Gui/README.md

+23-23
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ Doing so will update the `.csproj` files in your branch with version info, which
5151

5252
The following actions will publish the Terminal.Gui package to Nuget:
5353

54-
* A new version tag is defined and pushed to `main` - this is the normal release process.
55-
* A push to the `main` branch without a new version tag - this is a release-candidate build and will be of the form `1.2.3-rc.4`
56-
* A push to the `develop` branch - this is a pre-release build and will be of the form `1.2.3-pre.4`
54+
* A new version tag is defined and pushed to `v1_release` - this is the normal release process.
55+
* A push to the `v1_release` branch without a new version tag - this is a release-candidate build and will be of the form `1.2.3-rc.4`
56+
* A push to the `v1_develop` branch - this is a pre-release build and will be of the form `1.2.3-pre.4`
5757

5858
## Publishing a Release of Terminal.Gui
5959

@@ -71,17 +71,17 @@ The `tag` must be of the form `v<major>.<minor>.<patch>`, e.g. `v1.2.3`.
7171

7272
### 1) Verify the `develop` branch is ready for release
7373

74-
* Ensure everything is committed and pushed to the `develop` branch
75-
* Ensure your local `develop` branch is up-to-date with `upstream/develop`
74+
* Ensure everything is committed and pushed to the `v1_develop` branch
75+
* Ensure your local `v1_develop` branch is up-to-date with `upstream/v1_develop`
7676

77-
### 2) Create a pull request for the release in the `develop` branch
77+
### 2) Create a pull request for the release in the `v1_develop` branch
7878

7979
The PR title should be of the form "Release v1.2.3"
8080

8181
```powershell
82-
git checkout develop
83-
git pull upstream develop
84-
git checkout -b v2_3_4
82+
git checkout v1_develop
83+
git pull upstream v1_develop
84+
git checkout -b v1_2_3
8585
<touch a file>
8686
git add .
8787
git commit -m "Release v1.2.3"
@@ -90,36 +90,36 @@ git push
9090

9191
Go to the link printed by `git push` and fill out the Pull Request.
9292

93-
### 3) On github.com, verify the build action worked on your fork, then merge the PR to `develop`
93+
### 3) On github.com, verify the build action worked on your fork, then merge the PR to `v1_develop`
9494

9595
* Merging the PR will trigger the publish action on `upstream` (the main repo) and publish the Nuget package as a pre-release (e.g. `1.2.3-pre.1`).
9696

9797
### 4) Pull the merged `develop` from `upstream`
9898

9999
```powershell
100-
git checkout develop
101-
git pull upstream develop
100+
git checkout v1_develop
101+
git pull upstream v1_develop
102102
```
103103

104104
### 5) Merge `develop` into `main`
105105

106106
```powershell
107-
git checkout main
108-
git pull upstream main
109-
git merge develop
107+
git checkout v1_release
108+
git pull upstream v1_release
109+
git merge v1_develop
110110
```
111111

112112
Fix any merge errors.
113113

114-
At this point, to release a release candidate, push the `main` branch `upstream` without a new tag.
114+
At this point, to release a release candidate, push the `v1_release` branch `upstream` without a new tag.
115115

116116
```powershell
117-
git push upstream main
117+
git push upstream v1_release
118118
```
119119

120120
This will publish `1.2.3-rc.1` to Nuget.
121121

122-
### 6) Create a new annotated tag for the release on `main`
122+
### 6) Create a new annotated tag for the release on `v1_release`
123123

124124
```powershell
125125
git tag v1.2.3 -a -m "Release v1.2.3"
@@ -146,13 +146,13 @@ https://www.nuget.org/packages/Terminal.Gui
146146

147147
Generate release notes with the list of PRs since the last release.
148148

149-
### 11) Update the `develop` branch with the new version
149+
### 11) Update the `v1_develop` branch with the new version
150150

151151
```powershell
152-
git checkout develop
153-
git pull upstream develop
154-
git merge main
155-
git push upstream develop
152+
git checkout v1_develop
153+
git pull upstream v1_develop
154+
git merge v1_release
155+
git push upstream v1_develop
156156
```
157157

158158
## Nuget

0 commit comments

Comments
 (0)