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: doc/fluid/dev/releasing_process_en.md
+46-22Lines changed: 46 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,13 +17,23 @@ Each time we release a new PaddlePaddle version, we should follow the below step
17
17
* Update the Docker images (see below instructions for detail).
18
18
1. After above step, merge `release/[version]` branch to master and push a tag on the master commit,
19
19
then merge `master` to `develop`.
20
-
1. Update the Release Note.
20
+
1. Update the Release Note.
21
21
22
-
***NOTE:***
22
+
1. Create a new release branch from `develop`,named `release/[version]`. E.g.,`release/0.10.0`
23
+
2. Create a new tag for the release branch, tag format: `version-rc.Patch`. The first tag is `0.10.0-rc0`。
24
+
3. New release branch normally doesn't accept new features or optimizations. QA will test on the release branch. Developer should develop based on `develop` branch.
25
+
4. If QA or Developer find bugs. They should first fix and verity on `develop` branch. Then cherry-pick to the release branch. Wait until the release branch is stable.
26
+
5. If necessary, create a new tag on the relese branch, e.g. `0.10.0-rc1`. Involve more users to try it and repeat step 3-4.
27
+
6. After release branch is stable,Create the official release tag,such as `0.10.0`.
28
+
7. Release the python wheel package to pypi.
29
+
8. Update the docker image (More details below).
30
+
31
+
NOTE:
32
+
33
+
* bug fix should happen on `develop` branch, then cherry-pick to relese branch. Avoid developing directly on release branch.
34
+
35
+
* release normally only accept bug fixes. Don't add new features.
23
36
24
-
* Do ***NOT*** merge commits from develop branch to release branches to keep the release branch contain
25
-
features only for current release, so that we can test on that version.
26
-
* If we want to fix bugs on release branches, we must merge the fix to master, develop and release branch.
27
37
28
38
## Publish Wheel Packages to pypi
29
39
@@ -95,28 +105,42 @@ Tags that need to be updated are:
95
105
96
106
You can then checkout the latest pushed tags at https://hub.docker.com/r/paddlepaddle/paddle/tags/.
97
107
108
+
## PaddlePaddle 分支规范
109
+
110
+
PaddlePaddle开发过程使用[Trunk Based Development](https://trunkbaseddevelopment.com/) 开发规范。
0 commit comments