You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/RELEASING.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,15 @@ git pull <upstream remote name> dev
13
13
git checkout main
14
14
git pull <upstream remote name> main
15
15
```
16
-
**Note: replace <upstreamremotename> with the name of your upstream remote.
16
+
Note: replace <upstreamremotename> with the name of your upstream remote.
17
17
* Merge the `dev` branch into the `main` branch using the command line:
18
18
```
19
19
git checkout main
20
20
git merge dev --ff-only
21
21
git push <upstream remote name> main
22
22
```
23
23
**Note: the `dev` branch should only be merged into `main` when it is ready for a new release.**
24
+
If the merge does not work because the `main` branch is ahead of the `dev` branch, the commits from `main` should be cherry-picked to add them to `dev`.
24
25
25
26
## GitHub
26
27
In the GitHub repository, click on *Releases*, click on *Draft new release*.
0 commit comments