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: docs/en/contribution/release-java-agent.md
+50-1Lines changed: 50 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,6 +76,14 @@ Then run `gpgconf --kill gpg-agent` and `gpg --sign /dev/null` to cache it.
76
76
4.**upload** — upload to Apache SVN `dist/dev` (prompts for SVN credentials)
77
77
5.**email vote** — print vote email template with pre-filled version, commit ID, submodule commit, and checksums
78
78
79
+
Before the long build starts, **prepare** asks for the GitHub milestone ID of the next
80
+
development version, which it writes into the reset `CHANGES.md`. Look up the
81
+
`Java - <next_version>` milestone at https://github.com/apache/skywalking/milestones and
82
+
enter its number. The ID is checked against that milestone's title, and you are warned if
83
+
they disagree. Set `NEXT_MILESTONE=<id>` to answer non-interactively; leave the prompt
84
+
blank to keep the `milestone/xxx` placeholder and edit it by hand before merging the
85
+
release PR.
86
+
79
87
Copy the generated email and send it to `dev@skywalking.apache.org`. Voting remains open for at least 72 hours. At least 3 (+1 binding) PMC votes with more +1 than -1 are required.
80
88
81
89
## Vote Check
@@ -92,8 +100,49 @@ are found in `https://dist.apache.org/repos/dist/dev/skywalking/java-agent/x.y.z
92
100
1. Check the Apache License Header. Run `docker run --rm -v $(pwd):/github/workspace apache/skywalking-eyes header check`. (No binaries in source codes)
93
101
94
102
## vote-passed
103
+
Every step after `prepare` identifies the release by its **tag** (`vx.y.z`), never by the
104
+
checked-out branch. By the time you run `vote-passed`, the release PR has normally been
105
+
merged and `release/x.y.z` deleted, and `main` has already moved on to the next
106
+
`-SNAPSHOT`; the tag is the only thing that still pins the release. The version defaults to
107
+
the highest `vx.y.z` tag in the repository, and can be overridden with a positional
108
+
argument (`./release.sh docker 9.7.0`) or `RELEASE_VERSION=9.7.0`.
109
+
95
110
After the vote passes, run `vote-passed` which executes:
96
111
1.**promote** — move packages from `dist/dev` to `dist/release` in Apache SVN (prompts for SVN credentials), then release the Nexus staging repository at https://repository.apache.org and update the website download page
97
-
2.**docker** — build and push all Docker image variants (alpine, java8, java11, java17, java21, java25)
112
+
2.**github-release** — publish the GitHub Release for the tag, using `changes/changes-x.y.z.md` as its notes
98
113
3.**email announce** — print announcement email template. Copy and send to `dev@skywalking.apache.org` and `announce@apache.org`
99
114
4.**cleanup** (optional) — if old version is provided, remove it from `dist/release`. Update download page links to point to `https://archive.apache.org/dist/skywalking`
115
+
116
+
### Docker images
117
+
Docker images are published by GitHub Actions, not from your machine. Publishing the
118
+
GitHub Release fires the `release: released` trigger in
0 commit comments