@@ -15,7 +15,7 @@ branches.
15
15
Maintainers meet the following requirements will be able to perform automated
16
16
release to maven central via Github Action job named "Maven Release":
17
17
18
- * Has "collaborator" permission or greater access (otherwise the can't run the
18
+ * Has "collaborator" permission or greater access (otherwise can't run the
19
19
job manually).
20
20
* Should be in the OWNERS file.
21
21
@@ -24,20 +24,21 @@ release to maven central via Github Action job named "Maven Release":
24
24
#### Make sure the release job runs on the release branch
25
25
26
26
When cutting the next major release, firstly we need to fork out a new release
27
- branch named ` release-<major> ` . So the release job will execute the maven
28
- release plugin and push generated releasing commits to the release branch
29
- if the ` release:prepare ` process finishes successfully. Note that if we're
30
- bumping a new patch version from an existing release branch, this step can be
31
- omitted.
27
+ branch named ` release-<major> ` or ` release-legacy-<major> ` . So the release job
28
+ will execute the maven release plugin and push generated releasing commits to
29
+ the release branch if the ` release:prepare ` process finishes successfully. Note
30
+ that if we're bumping a new patch version from an existing release branch, this
31
+ step can be omitted.
32
32
33
33
#### Filling release job input manually
34
34
35
35
The github action job will require three manual input:
36
36
37
- * The POM releasing version, must be a valid semver ` X.Y.Z ` (without "v" prefix).
37
+ * The POM releasing version, must be a valid semver ` X.Y.Z ` (without "v" prefix).
38
+ For ` master-java8 ` branch, the version should adhere to format ` X.Y.Z-legacy ` .
38
39
* The next development POM version, conventionally we should bump a patch
39
40
version from the current release version and add a ` -SNAPSHOT ` suffix. i.e.
40
- ` X.Y.(Z+1)-SNAPSHOT ` .
41
+ ` X.Y.(Z+1)-SNAPSHOT ` . (for ` master-java8 ` branch it's ` X.Y.(Z+1)-legacy-SNAPSHOT ` )
41
42
* Dry-Run: Indicating whether the release job will push the generated release
42
43
commits to the release branch and actually upload the artifacts.
43
44
0 commit comments