@@ -51,9 +51,9 @@ Doing so will update the `.csproj` files in your branch with version info, which
51
51
52
52
The following actions will publish the Terminal.Gui package to Nuget:
53
53
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 `
57
57
58
58
## Publishing a Release of Terminal.Gui
59
59
@@ -71,17 +71,17 @@ The `tag` must be of the form `v<major>.<minor>.<patch>`, e.g. `v1.2.3`.
71
71
72
72
### 1) Verify the ` develop ` branch is ready for release
73
73
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 `
76
76
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
78
78
79
79
The PR title should be of the form "Release v1.2.3"
80
80
81
81
``` 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
85
85
<touch a file>
86
86
git add .
87
87
git commit -m "Release v1.2.3"
@@ -90,36 +90,36 @@ git push
90
90
91
91
Go to the link printed by ` git push ` and fill out the Pull Request.
92
92
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 `
94
94
95
95
* 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 ` ).
96
96
97
97
### 4) Pull the merged ` develop ` from ` upstream `
98
98
99
99
``` powershell
100
- git checkout develop
101
- git pull upstream develop
100
+ git checkout v1_develop
101
+ git pull upstream v1_develop
102
102
```
103
103
104
104
### 5) Merge ` develop ` into ` main `
105
105
106
106
``` 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
110
110
```
111
111
112
112
Fix any merge errors.
113
113
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.
115
115
116
116
``` powershell
117
- git push upstream main
117
+ git push upstream v1_release
118
118
```
119
119
120
120
This will publish ` 1.2.3-rc.1 ` to Nuget.
121
121
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 `
123
123
124
124
``` powershell
125
125
git tag v1.2.3 -a -m "Release v1.2.3"
@@ -146,13 +146,13 @@ https://www.nuget.org/packages/Terminal.Gui
146
146
147
147
Generate release notes with the list of PRs since the last release.
148
148
149
- ### 11) Update the ` develop ` branch with the new version
149
+ ### 11) Update the ` v1_develop ` branch with the new version
150
150
151
151
``` 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
156
156
```
157
157
158
158
## Nuget
0 commit comments